Start with the 1Hz LED program, to confirm you can cut code/compile/burn and run the PIC.
Then decide on which 7 I/O pins will go to your 1s digit, then which 7 for the 10s digit. You can onlydisplay 00 to 99, so really don't need a 10bit ADC.
cut code to display 0...9 on each digit.
cut code to display 00 to 99 on the displays
cut code to read pot on ADC input pin and display on LEDs
note: you will need to translate 0-255 to 00-99
note: be sure to use current limiting resistors on LEDs
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum