Benutzer-Werkzeuge

Webseiten-Werkzeuge


projekte:grossprojekte:lorawan:12_temp-feuchte

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
projekte:grossprojekte:lorawan:12_temp-feuchte [2020/03/26 09:02] fablab_wikiprojekte:grossprojekte:lorawan:12_temp-feuchte [2020/11/09 21:31] fablab_wiki
Zeile 226: Zeile 226:
 // Ende eigenes Setup // Ende eigenes Setup
 // //
-#ifdef VCC_ENABLE +
-  // For Pinoccio Scout boards +
-  pinMode(VCC_ENABLE, OUTPUT); +
-  digitalWrite(VCC_ENABLE, HIGH); +
-  delay(1000); +
-#endif+
  
   // LMIC init   // LMIC init
Zeile 237: Zeile 232:
   // Reset the MAC state. Session and pending data transfers will be discarded.   // Reset the MAC state. Session and pending data transfers will be discarded.
   LMIC_reset();   LMIC_reset();
-  LMIC_setClockError(MAX_CLOCK_ERROR * 2 / 100); 
-  LMIC_setupChannel(0, 868100000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band 
-  LMIC_setupChannel(1, 868300000, DR_RANGE_MAP(DR_SF12, DR_SF7B), BAND_CENTI);      // g-band 
-  LMIC_setupChannel(2, 868500000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band 
-  LMIC_setupChannel(3, 867100000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band 
-  LMIC_setupChannel(4, 867300000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band 
-  LMIC_setupChannel(5, 867500000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band 
-  LMIC_setupChannel(6, 867700000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band 
-  LMIC_setupChannel(7, 867900000, DR_RANGE_MAP(DR_SF12, DR_SF7),  BAND_CENTI);      // g-band 
-  LMIC_setupChannel(8, 868800000, DR_RANGE_MAP(DR_FSK,  DR_FSK),  BAND_MILLI);      // g2-band 
- 
-  LMIC_setLinkCheckMode(0); 
-  LMIC.dn2Dr = SF9; 
-  LMIC_setDrTxpow(DR_SF7, 14); 
   // Start job (sending automatically starts OTAA too)   // Start job (sending automatically starts OTAA too)
   do_send(&sendjob);   do_send(&sendjob);
projekte/grossprojekte/lorawan/12_temp-feuchte.txt · Zuletzt geändert: 2022/12/14 12:48 von michael