I tried
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); //pin10 Rx, pin11 Tx
void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
mySerial.begin(9600);
}
void loop()
{
if (mySerial.available()>0)
{
if(mySerial.read() == 0x11) //Pioneer is ready to accept data
{
mySerial.println("44VL"); //data going to Pioneer
delay(5000);
}
}
}
With the MAX232 connected to pin 10 and 11 (Arduino Uno)
However the Pioneer did not respond.
Is ther something wrong in the code?
For debugging can I get the input from the software serial to be outputed on the usb serial?