void main(void)
{
// Initialize the device
SYSTEM_Initialize();
IO_Q1_base_SetDigitalOutput();
// If using interrupts in PIC18 High/Low Priority Mode you need to enable the Global High and Low Interrupts
// If using interrupts in PIC Mid-Range Compatibility Mode you need to enable the Global Interrupts
// Use the following macros to:
// Enable the Global Interrupts
//INTERRUPT_GlobalInterruptEnable();
// Disable the Global Interrupts
//INTERRUPT_GlobalInterruptDisable();
while (1)
{
IO_Q1_base_Toggle();
__delay_ms(1);
// Add your application code
}
}