summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorJoshua Drake <joshua.ellis.drake@gmail.com>2024-02-01 01:21:26 -0600
committerJoshua Drake <joshua.ellis.drake@gmail.com>2024-02-01 01:21:26 -0600
commit4f975a707e8fe5c6d7dd01babd275b9c1d270251 (patch)
tree2254ec9e63413b6502b05df1f40bed92e27a566c /main.c
parentfdd6a8d9a9a8a8df0a4f5d75eef428e9f7f1ab22 (diff)
Board Ready for Testing.
Diffstat (limited to 'main.c')
-rw-r--r--main.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/main.c b/main.c
index 3fa5877..01951e7 100644
--- a/main.c
+++ b/main.c
@@ -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;