mirror of
https://github.com/siemens-mobile-hacks/node-serialport-bindings-cpp.git
synced 2026-11-26 02:47:17 +00:00
11 lines
140 B
C++
11 lines
140 B
C++
void setup()
|
|
{
|
|
Serial.begin(57600);
|
|
}
|
|
|
|
void loop()
|
|
{
|
|
while (Serial.available()) {
|
|
Serial.write(Serial.read());
|
|
}
|
|
}
|