LattePanda Arduino TX, RX

userHead EK_Lala 2017-04-06 16:26:08 2578 Views1 Replies
Dear All,

How can I read and write to Arduino TX and RX using a C# program loaded in the Panda. What contructor I need and how can I start reading?

I know for Ardiuno I will need

Serial.begin(15200);

void loop () {
if (Serial.available() > 0) {
// read the incoming byte:
incomingByte = Serial.read();

// say what you got:
Serial.print("I received: ");
Serial.println(incomingByte, DEC);
}