Skip to content

Commit ba11aec

Browse files
lenardgeorgelenardgeorge
authored andcommitted
Changes to Lesson4, ARGlasses, PersonalTrainer
1 parent ff905ae commit ba11aec

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

Examples/Lessons/L4_DigitalInputs&Outputs/L4_Activity1/L4_Activity1.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
This sketch is written to accompany Activity 1 in Lesson 04 of the CTC GO! core module
66
*/
77

8-
// initialising the pins and other variables.
9-
int button = 2;
8+
// Initialising the pins and other variables.
9+
int button_pin = 2;
1010
int button_state = 0;
1111

1212
void setup()

Examples/Projects/P2_ARGlasses/P2_ARGlasses_Stage5/P2_ARGlasses_Stage5.ino

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
This sketch is written to accompany Stage 5 in AR GLASSES of the CTC GO! core module
66
*/
77

8-
98
int piezo = 11;
109
int yellowLED = 13;
1110
int redLED = 12;

Examples/Projects/P2_PersonalTrainer/P2_PersonalTrainer_Stage2/P2_PersonalTrainer_Stage2.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
This sketch is written to accompany Stage 2 in PERSONAL TRAINER of the CTC GO! core module
66
*/
77

8-
98
int ledCounter_1 = 2;
109
int ledCounter_2 = 3;
1110
int ledCounter_3 = 4;
@@ -23,7 +22,8 @@ void setup(){
2322
Serial.begin(_____);
2423
}
2524

26-
void loop(){
25+
void loop()
26+
{
2727

2828
digitalWrite(ledCounter_1,HIGH);
2929
digitalWrite(ledCounter_2, LOW);

Examples/Projects/P2_PersonalTrainer/P2_PersonalTrainer_Stage3/P2_PersonalTrainer_Stage3.ino

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ void setup(){
2727
pinMode(ledCounter_3, OUTPUT);
2828
pinMode(incrementButton, INPUT);
2929
Serial.begin(9600);
30-
31-
30+
3231
}
3332

3433
void loop(){

0 commit comments

Comments
 (0)