Closed
Description
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
//http://www.martyncurrey.com/arduino-serial-part-1/
/// basicSerialPassThru_AltSoftSerial_001
#include <AltSoftSerial.h>
AltSoftSerial softSerial;
char c=' ';
void setup()
{
Serial.begin(9600);
Serial.print("Sketch: "); Serial.println(__FILE__);
softSerial.begin(9600);
Serial.println("AltSoftSerial started at 9600");
}
void loop()
{
// Read from the software serial and send to the hardware seral
if (softSerial.available())
{
c = softSerial.read();
Serial.write(c);
}
// Read from hardware serial and send to software serial
if ( Serial.available() )
{
c = Serial.read();
softSerial.write(c);
}
}
I'm using some cheap Chinese cp2102 usb ttl board.
Works fine on arduino ide v1.
Desktop (please complete the following information):
- OS: Windows 10 Insiders build