void setup() {
// put your setup code here, to run once:
Serial.begin(9600);
}
void loop() {
// put your main code here, to run repeatedly:
Serial.write("a");
delay(1000);
}
This sent letter a to both serialmonitor of Arduino IDE and to my USB-Serial converter. Job well done you could say. But the problem is, i am not sure why it even sent to USB-Serial converter. I didnt define "Serial" anywhere in the code, so as far as i know Serial is a connection betwen ESP8266 and computer. Now my question is this: What code do i need to write to send letter "a" only to USB-Serial converter but NOT to Serial monitor ? I tried hardwareserial, softwareserial, pinmode, etc. but nothing seems to work.