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
2 changes: 2 additions & 0 deletions Firmware/project_1/inc/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ extern DigitalOut led4;
* BOARD SPECIFIC PINS
*/

// PROJECT 2 - You can declare a AnalogIn object here


/*
* BOARD SPECIFIC PIN OBJECT DECLARATIONS
Expand Down
3 changes: 2 additions & 1 deletion Firmware/project_1/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,12 @@ int main() {
common.toggleReceiveCANLED();
}

//task 1
if(timing.tickThreshold(last_task_1_time, TASK_1_RATE_US)){
//PROJECT 1 - add code here to actually make the LED blink
}

//PROJECT 2 - use the potentiometer to change the blink rate


}

Expand Down
2 changes: 1 addition & 1 deletion Firmware/project_1/src/pins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* PIN OBJECT INSTANTIATIONS
*/


// PROJECT 2 - You can instantiate your AnalogIn object here

/*
* COMMON PIN OBJECT INSTANTIATIONS
Expand Down

This file was deleted.

This file was deleted.

Loading