#2800: Analog Input support for eToys ----------------------------+----------------------------------------------- Reporter: arjs | Owner: etoys Type: enhancement | Status: new Priority: normal | Milestone: Untriaged Component: etoys-activity | Version: Keywords: | Verified: 0 ----------------------------+----------------------------------------------- It would be very nice to have support for Analog Input in eToys.
You could use code ive developed as part of Measure activity -
See http://dev.laptop.org/git?p=projects/measure;a=blob_plain;f=audioGrab.py;hb=... (getting samples)
and http://dev.laptop.org/git?p=projects/measure;a=blob_plain;f=buttons.py;hb=HE... (toggling between AC/DC modes and controlling bias voltage etc.)
Or I could easily provide you with a class that you could use. I could make functions in that class that could simply return to you the required values. For example there could be a function that you could call to return avg voltage or rms voltage, select between ac/dc modes, set bias_on, set bias_off.....
Let me know if I can help in any way.
thanks, Arjun