5 units working, not synchronized in time or transmissions, that is for later Exercise
This commit is contained in:
parent
c324998ef0
commit
c99ce38b57
3 changed files with 278 additions and 6 deletions
|
|
@ -10,6 +10,9 @@
|
|||
#ifndef NODE_LABEL
|
||||
#define NODE_LABEL "?"
|
||||
#endif
|
||||
#ifndef UNIT_NAME
|
||||
#define UNIT_NAME "UNNAMED"
|
||||
#endif
|
||||
|
||||
// --- Pins injected via platformio.ini build_flags ---
|
||||
#ifndef LORA_CS
|
||||
|
|
@ -99,7 +102,7 @@ void loop() {
|
|||
next_tx_ms = now + 2000; // 2 seconds for this smoke test
|
||||
|
||||
// String msg = String("I am ") + NODE_LABEL + " iter=" + String(iter++);
|
||||
String msg = String(" ") + NODE_LABEL + " sends greetings. iter=" + String(iter++);
|
||||
String msg = String("") + NODE_LABEL + " says hi. iter=" + String(iter++);
|
||||
Serial.printf("TX: %s\r\n", msg.c_str());
|
||||
|
||||
//int tx = radio.transmit(msg);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue