1
0
Fork 0
mirror of https://github.com/RobotechLille/cdf2018-principal synced 2024-05-05 13:21:45 +00:00
cdf2018-principal/arduino/Arduino-Makefile/examples/SerialPrint/SerialPrint.ino
Geoffrey Frogeye 935d1054a7 Actionneurs
Partie Robotech hors-projet
2018-05-08 00:45:08 +02:00

11 lines
152 B
C++

void setup() {
Serial.begin(9600);
Serial.print("Press any key: ");
}
void loop() {
if (Serial.available()) {
Serial.println(Serial.read());
}
}