Hello all,
I want to commicate with a device by sending and receiving some strings through usb host shield.
I want to follow the same protocole below and replace serial3 by "usb host", but I don't know how can I do this:
void setup() {
Serial.begin(9600);
Serial3.begin(9600,SERIAL_8N1);
}
void loop() {
if(Serial.available()){
Serial3.write(Serial.read());
}
if(Serial3.available()){
Serial.print(Serial3.read());
}
}
Thanks in advance.