Hello All,
Just joined the forum from Massachusetts (Field of expertise is ASIC/FPGA design with VHDL and Verilog)...
I have been messing around with the Curiosity board (16F1619), got my first main.c running with the blinking LED
macros (delay & blink) from <pin_manager.h>, enabled by the on board tact-switch.
I'm trying to modify my main() to have code that will read the Curiosity potentiometer, then,
if it's > "some_value", enable the LED to blink(for starters). I would really like to understand details of how
to create pragmas & macros for the SFRs, and, where all of the calls/macros in the underlying code are such as:
//Start conversion by setting the GO/DONE bit. (lifted from the forum)
ADCON0bits.GO_nDONE = 1;
Anyone willing to point me in the right direction would be much appreciated!
...simple code, lot's of cockpit errors not knowing the environment.
Best Regards,
Paul