Arjun,

> 1) eToys:
> It would be very nice to have support for Analog Input in eToys.
> 
> You could use my code -
> 
> See
> http://dev.laptop.org/git?p=projects/measure;a=blob_plain;f=audioGrab.py;hb=HEAD
> (getting samples)
> 
> and
> http://dev.laptop.org/git?p=projects/measure;a=blob_plain;f=buttons.py;hb=HEAD
> (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.

  Thank you.  As I wrote on http://dev.laptop.org/ticket/2800, what we
would like to have is C functions.  Then, I can wrap them as Squeak
primitives.  Probably I can just rip these functions from amixer, but
if you can tell me which, that would be good!

-- Yoshiki
_______________________________________________
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel

Reply via email to