Subversion Repositories Code-Repo

Compare Revisions

Ignore whitespace Rev 272 → Rev 273

/PIC Stuff/PICX_16F1829_Controller/INTERRUPTS.c
2,6 → 2,7
#include "INTERRUPTS.h"
#include "I2C1.h"
#include "I2C2.h"
#include "IO.h"
 
void Interrupt_Init() {
 
56,6 → 57,14
return;
}
 
// Check to see if we have an IO interrupt
if (INTCONbits.IOCIF) {
// Call the handler
IO_Interrupt();
 
return;
}
 
// // Check to see if we have an interrupt on USART1 RX
// if (PIR1bits.RC1IF) {
// // Call the interrupt handler