diff options
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;
|