/PIC Stuff/Cerebot_32MX7_LED_Cube/BTN.c |
---|
1,5 → 1,3 |
#include <xc.h> |
#include <plib.h> |
#include "defines.h" |
#include "BTN.h" |
24,7 → 22,7 |
#elif defined CEREBOT_MX7CK |
CNENSET = 0x00300; // Set interrupt on CN8/9 |
#endif |
int tmp = BTN1_PORT; |
int32_t tmp = BTN1_PORT; |
tmp = BTN2_PORT; |
tmp = BTN3_PORT; |
IPC6SET = 0xD0000; // Set priority level = 3, sub-priority level = 1 |