Alchitry Forums
using avr interface for adc - Printable Version

+- Alchitry Forums (https://forum.alchitry.com)
+-- Forum: Alchitry (https://forum.alchitry.com/forum-1.html)
+--- Forum: General Questions (https://forum.alchitry.com/forum-2.html)
+--- Thread: using avr interface for adc (/thread-232.html)



using avr interface for adc - caravandal - 05-19-2020

I want to use the avr interface to sample analog inputs with nothing connected to the usb data. how is this done?


RE: using avr interface for adc - alchitry - 06-15-2020

You don't need to use the usb interface part of the avr_interface module. You can simply set new_tx_data to 0, tx_data to 8hXX to never send anything.

You could also copy/paste the avr_interface component into your own module and remove all the serial/USB stuff leaving only the ADC/SPI stuff.