Simple XADC Example

It was a little frustrating trying to figure out how to use the onboard ADC, so once I got it working, I thought I would share it.

This is a simple project to scan the temperature, internal voltage levels, and dedicated analog input and display them in hex on the Alchitry Io board. All channels are continuously scanned, and the channel to be displayed is selected with the first 4 DIP switches.

Details are in the header of the top file.