LattePanda Arduino TX, RX
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);
}
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);
}