[iot] Compilation LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK
Christian Frabel
christian.frabel at gmail.com
Fri Oct 25 15:02:55 CEST 2019
Bonjour,
Quand je tente de compiler le sketch en question j'obtiens cette erreur
'SerialUSB' was not declared in this scope
Auriez-vous une idée ?
Merci.
Arduino : 1.8.10 (Linux), Carte : "Adafruit Feather M0, Arduino, Off"
/home/cfrabel/src/LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN/LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN.ino:
In function 'void onEvent(ev_t)':
LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN:84:5: error: 'SerialUSB' was
not declared in this scope
SerialUSB.print(os_getTime());
^
/home/cfrabel/src/LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN/LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN.ino:
In function 'void do_send(osjob_t*)':
LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN:183:9: error: 'SerialUSB' was
not declared in this scope
SerialUSB.println(F("OP_TXRXPEND, not sending"));
^
LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN:187:9: error: 'SerialUSB' was
not declared in this scope
SerialUSB.println(F("Packet queued"));
^
/home/cfrabel/src/LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN/LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN.ino:
In function 'void setup()':
LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN:193:5: error: 'SerialUSB' was
not declared in this scope
SerialUSB.begin(9600);
^
Plusieurs bibliothèque trouvées pour "SPI.h"
Utilisé :
/home/cfrabel/.arduino15/packages/adafruit/hardware/samd/1.5.4/libraries/SPI
Plusieurs bibliothèque trouvées pour "Adafruit_ZeroDMA.h"
Utilisé :
/home/cfrabel/.arduino15/packages/adafruit/hardware/samd/1.5.4/libraries/Adafruit_ZeroDMA
Plusieurs bibliothèque trouvées pour "lmic.h"
Utilisé : /home/cfrabel/arduino-1.8.10/libraries/arduino-lmic
exit status 1
'SerialUSB' was not declared in this scope
--
Christian Frabel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tetaneutral.net/pipermail/iot/attachments/20191025/36a1937b/attachment.html>
More information about the iot
mailing list