diff options
| author | github-classroom[bot] <66690702+github-classroom[bot]@users.noreply.github.com> | 2025-08-26 17:03:24 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-26 17:03:24 +0000 |
| commit | 0f2ea7deaf0cba2f0ca07f6611c5a9e87d531f5b (patch) | |
| tree | 66b32e47da7602942f1bf4b7d343367ac408cd5a /project_starter_files/Core/Src/main.c | |
| download | 340-repo-Sowgro-0f2ea7deaf0cba2f0ca07f6611c5a9e87d531f5b.tar.gz 340-repo-Sowgro-0f2ea7deaf0cba2f0ca07f6611c5a9e87d531f5b.tar.bz2 340-repo-Sowgro-0f2ea7deaf0cba2f0ca07f6611c5a9e87d531f5b.zip | |
Initial commit
Diffstat (limited to 'project_starter_files/Core/Src/main.c')
| -rw-r--r-- | project_starter_files/Core/Src/main.c | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/project_starter_files/Core/Src/main.c b/project_starter_files/Core/Src/main.c new file mode 100644 index 0000000..c1d7992 --- /dev/null +++ b/project_starter_files/Core/Src/main.c @@ -0,0 +1,23 @@ +// main.c with demo +// Updated and refactored Larry Kiser copyright 2021 + + +// include project specific header files +#include "error_handler.h" +#include "SysClock.h" +#include "LED.h" +#include "UART.h" +#include "demo.h" + + +int main(void){ + + // initialization code + System_Clock_Init(); // set System Clock = 80 MHz + LED_Init(); + UART2_Init(); + + // application run function + run_demo() ; +} + |
