Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Tasks/Task-101-Blinky/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ int main()
// Turn onboard LED ON
greenLED = 1;

// Wait 0.2 second (1 million microseconds)
// Wait 0.1 second (1 hundred thousand microseconds)
wait_us(100000);

// Turn LED OFF
greenLED = 0;

// Wait 0.2 second
// Wait 0.1 second
wait_us(100000);
}
}
2 changes: 1 addition & 1 deletion Tasks/Task-103-HelloWorld/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ int main()
lcd.locate(1, 0); //Row 1, Col 0
lcd.printf("ELEC143");

// This is a variable (not an oject as it has no functions) that stores a whole number (integer) in memory
// This is a variable (not an object as it has no functions) that stores a whole number (integer) in memory
// (I used the keyword volatile to force it to use memory... long story and one for later)
volatile int counter = 0;

Expand Down