Seeeduino LoRaWan Uart
hi there,
i looking make seeeduino lorawan board communicate raspi on uart.
on raspi side minicom doing great job , seems working fine (rx , tx linked).
however, once try on seeeduino doesn't work @ all.
i looking make seeeduino lorawan board communicate raspi on uart.
on raspi side minicom doing great job , seems working fine (rx , tx linked).
however, once try on seeeduino doesn't work @ all.
code: [select]
#include <softwareserial.h>
softwareserial myserial(2, 3); // rx, tx
void setup() {
// open serial communications , wait port open:
serialusb.begin(9600);
while (!serial) {
; // wait serial port connect. needed native usb port only
}
serial.println("goodnight moon!");
// set data rate softwareserial port
myserial.begin(9600);
myserial.println("hello, world?");
}
void loop() { // run on , over
if (myserial.available()) {
serialusb.println("test2");
}
if (serial.available()) {
myserial.write("test1");
}
}
its not @ clear trying do, understand;
1. provide link boards using.
2. provide circuit diagram of how have wired up.
1. provide link boards using.
2. provide circuit diagram of how have wired up.
Arduino Forum > Using Arduino > Programming Questions > Seeeduino LoRaWan Uart
arduino
Comments
Post a Comment