Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daronls2 onboarding #47

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
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
1 change: 1 addition & 0 deletions ElecOnboarding23
Submodule ElecOnboarding23 added at 4b42c1
5 changes: 5 additions & 0 deletions Firmware/.mcuxpressoide_packages_support/info.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#MCUXpresso IDE
#Wed Feb 28 20:13:34 CST 2024
product.name=MCUXpresso IDE v11.7.0 [Build 9198] [2023-01-17]
product.version=11.7.0
product.build=9198
2 changes: 2 additions & 0 deletions Firmware/.mcuxpressoide_packages_support/readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
This folder is automatically created and contains the SDK part support for the IDE
*** DO NOT REMOVE OR MODIFY, YOUR CHANGES WILL BE OVERWRITTEN ON SDK REFRESH ***
3 changes: 2 additions & 1 deletion Firmware/project_1/inc/pins.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#define P_LED3 P0_6
#define P_LED4 P0_7
// PROJECT 1 - You can define a pin macro here
#define P_LED_Proj1 P0_4

/*
* COMMON PIN OBJECT DECLARATIONS
Expand All @@ -36,7 +37,7 @@ extern DigitalOut led2;
extern DigitalOut led3;
extern DigitalOut led4;
// PROJECT 1 - You can declare a DigitalOut object here

extern DigitalOut led_proj1;
/*
* BOARD SPECIFIC PINS
*/
Expand Down
2 changes: 2 additions & 0 deletions Firmware/project_1/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include <mbed.h>
// PROJECT 1 - Include something here!
#include "pins.h"
#include "peripherals.h"
#include "can_struct.h"
#include "CAN/can_id.h"
Expand Down Expand Up @@ -97,6 +98,7 @@ int main() {

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

//PROJECT 2 - use the potentiometer to change the blink rate
Expand Down
1 change: 1 addition & 0 deletions Firmware/project_1/src/pins.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ DigitalOut led2(P_LED2);
DigitalOut led3(P_LED3);
DigitalOut led4(P_LED4);
// PROJECT 1 - You can instantiate your DigitalOut object here
DigitalOut led_proj1(P_LED_Proj1);
266 changes: 266 additions & 0 deletions Hardware/prog1/Title_Block.kicad_wks

Large diffs are not rendered by default.

135 changes: 135 additions & 0 deletions Hardware/prog1/fp-lib-table

Large diffs are not rendered by default.

2,208 changes: 2,208 additions & 0 deletions Hardware/prog1/prog1.kicad_pcb

Large diffs are not rendered by default.

Loading