I'm new to pic's and the harmony framework, and i'm trying to toggle a pin from high to low and vice versa in the interrupt callback of the Timer.
I configured my oscillator to operate at 32 MHz
Then i configured a Timer Driver, with prescale 256, so each tick is 8us:
Now my question, i want an interrupt to happen at each 8us, and i want to toggle a pin (RG0) at each interrupt. How can that be done?
But if inside that function i put the following line:
LATGINV = 0x00000001; nothing happens, i go check on the oscilloscope the signal and there is no toggle.
If i put the same line on
main.c it works, the problems is that it doesn't seem to be accessible in