I am not sure of what I am doing wrong. I tried to access one LED on port RA2 of a PIC10LF320. I was able to get it to flash in ASM, but I am trying to work this out in C. So far I have successfully (I think) created my header file. My program compiles and loads, but no light from the LED.
Any ideas on how to address the LAT register more correctly? I also tried LATAbits.RA2 as well as PORTAbits.RA2 and variants of this containing...
Assistance with MPLAB C Code
Any ideas on how to address the LAT register more correctly? I also tried LATAbits.RA2 as well as PORTAbits.RA2 and variants of this containing...
Assistance with MPLAB C Code