first commit
This commit is contained in:
18
SerialSimple/SerialSimple.ino
Executable file
18
SerialSimple/SerialSimple.ino
Executable file
@@ -0,0 +1,18 @@
|
||||
void setup() {
|
||||
// put your setup code here, to run once:
|
||||
Serial.begin(115200);
|
||||
while (!Serial) {
|
||||
; // wait for serial port to connect. Needed for Leonardo only
|
||||
}
|
||||
pinMode(13, OUTPUT);
|
||||
}
|
||||
|
||||
void loop() {
|
||||
// put your main code here, to run repeatedly:
|
||||
digitalWrite(13, HIGH); // turn the LED on (HIGH is the voltage level)
|
||||
delay(1000); // wait for a second
|
||||
digitalWrite(13, LOW); // turn the LED off by making the voltage LOW
|
||||
delay(1000);
|
||||
|
||||
Serial.println("Envoi de l'arduino");
|
||||
}
|
||||
Reference in New Issue
Block a user