File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 22 Multiple Blinks
33
44 Demonstrates the use of the Scheduler library for the Arduino Due
5-
5+
66 Hardware required :
77 * LEDs connected to pins 11, 12, and 13
88
99 created 8 Oct 2012
1010 by Cristian Maglie
11- Modified by
11+ Modified by
1212 Scott Fitzgerald 19 Oct 2012
13-
13+
1414 This example code is in the public domain
15-
15+
1616 http://arduino.cc/en/Tutorial/MultipleBlinks
1717*/
1818
@@ -64,11 +64,11 @@ void loop2() {
6464void loop3 () {
6565 if (Serial.available ()) {
6666 char c = Serial.read ();
67- if (c== ' 0' ) {
67+ if (c == ' 0' ) {
6868 digitalWrite (led3, LOW);
6969 Serial.println (" Led turned off!" );
7070 }
71- if (c== ' 1' ) {
71+ if (c == ' 1' ) {
7272 digitalWrite (led3, HIGH);
7373 Serial.println (" Led turned on!" );
7474 }
You can’t perform that action at this time.
0 commit comments