summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
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;