diff options
author | Joshua Drake <joshua.ellis.drake@gmail.com> | 2024-02-01 01:21:26 -0600 |
---|---|---|
committer | Joshua Drake <joshua.ellis.drake@gmail.com> | 2024-02-01 01:21:26 -0600 |
commit | 4f975a707e8fe5c6d7dd01babd275b9c1d270251 (patch) | |
tree | 2254ec9e63413b6502b05df1f40bed92e27a566c /main.c | |
parent | fdd6a8d9a9a8a8df0a4f5d75eef428e9f7f1ab22 (diff) |
Board Ready for Testing.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -45,8 +45,8 @@ /**
Section: Included Files
*/
-#include "mcc_generated_files/system.h"
-#include "SPI.h"
+//#include "mcc_generated_files/system.h"
+#include <p24FV16KM202.h>
/*
Main application
@@ -54,12 +54,13 @@ int main(void)
{
// initialize the device
- SYSTEM_Initialize();
+ //SYSTEM_Initialize();
+ //PORTB = 0b000000111110000;
+ TRISB = 0xff;
while (1)
{
- // Add your application code
- total = 0;
+ PORTB=0x00;
}
return 1;
|