MENU

Fun & Interesting

PT3: PIC16xxxx chip Family - Using the GCBASIC to read the ADC and set the LEDs

Evan Venn 149 3 months ago
Video Not Working? Fix It Now

This video shows how to read the ADC using READAD() and set the LEDs attached to the Q24 depending on the value of the ADC. Prerequisites: - Installed GCStudio IDE - A method to program a PIC16F1939 - 4 LEDs and a 10k Pot This video demonstrates: - How to read the ADC using the GCBASIC READAD() function. - How to set the LEDs according to the value returned from the READAD() 8-bit value. All very simple. Enjoy! Useful Links: URL for GCStudio download is: https://sourceforge.net/projects/gcbasic/files/GCStudio%20-%20Complete%20IDE%20and%20Toolchain%20for%20Windows/GCstudioSe tup.exe/download Resources are on GitHub: https://github.com/GreatCowBASIC/Demonstration_Sources/tree/main/Vendor_Boards/Microchip_PICDEM%202%20plus_board_2010

Comment