<div dir="auto"><div dir="auto">Bonjour Christian,<br></div><div dir="auto"><br></div><div dir="auto">Il me semble qu'il faille plutôt utiliser le code sur cette page : <a href="https://boulle.frama.io/LoRaWAN-tetaneutral/post/generic-lorawan-node-basic-join">https://boulle.frama.io/LoRaWAN-tetaneutral/post/generic-lorawan-node-basic-join</a></div><div dir="auto"><br></div><div dir="auto">Benjamin</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le ven. 25 oct. 2019 à 15:03, Christian Frabel via iot <<a href="mailto:iot@lists.tetaneutral.net">iot@lists.tetaneutral.net</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Bonjour,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Quand je tente de compiler le sketch en question j'obtiens cette erreur 'SerialUSB' was not declared in this scope</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Auriez-vous une idée ?</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Merci.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Arduino : 1.8.10 (Linux), Carte : "Adafruit Feather M0, Arduino, Off"<br><br>/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)':<br>LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN:84:5: error: 'SerialUSB' was not declared in this scope<br> SerialUSB.print(os_getTime());<br> ^<br>/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*)':<br>LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN:183:9: error: 'SerialUSB' was not declared in this scope<br> SerialUSB.println(F("OP_TXRXPEND, not sending"));<br> ^<br>LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN:187:9: error: 'SerialUSB' was not declared in this scope<br> SerialUSB.println(F("Packet queued"));<br> ^<br>/home/cfrabel/src/LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN/LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN.ino: In function 'void setup()':<br>LoRaWAN-node-yah-tetaneutral-OTAA-JOIN-OK-JN:193:5: error: 'SerialUSB' was not declared in this scope<br> SerialUSB.begin(9600);<br> ^<br>Plusieurs bibliothèque trouvées pour "SPI.h"<br>Utilisé : /home/cfrabel/.arduino15/packages/adafruit/hardware/samd/1.5.4/libraries/SPI<br>Plusieurs bibliothèque trouvées pour "Adafruit_ZeroDMA.h"<br>Utilisé : /home/cfrabel/.arduino15/packages/adafruit/hardware/samd/1.5.4/libraries/Adafruit_ZeroDMA<br>Plusieurs bibliothèque trouvées pour "lmic.h"<br>Utilisé : /home/cfrabel/arduino-1.8.10/libraries/arduino-lmic<br>exit status 1<br>'SerialUSB' was not declared in this scope<br><br><br></div><br>-- <br><div dir="ltr" data-smartmail="gmail_signature">Christian Frabel</div></div>
_______________________________________________<br>
iot mailing list<br>
<a href="mailto:iot@lists.tetaneutral.net" target="_blank" rel="noreferrer">iot@lists.tetaneutral.net</a><br>
<a href="https://lists.tetaneutral.net/listinfo/iot" rel="noreferrer noreferrer" target="_blank">https://lists.tetaneutral.net/listinfo/iot</a></blockquote></div></div></div>