40
void loop ()
{
if (mySerial.available ())
{
int c = mySerial.read (); // read from the software port
Serial.write (s); // write in hardware - port
if (Serial.available ())
{
int c = Serial.read (); // read from the hardware - port
mySerial.write (s); // write to the software port
}
}
Достарыңызбен бөлісу: