Pages: [1]   Go Down
Author Topic: Anyone using Pyduino for Python w/Firmata  (Read 376 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi guys,

Is anyone able to get the analog read function to work? No matter the actual value at at analog pin, the only result pyduino brings back is 0...
Any ideas?

Code:
import pyduino
import time

a = pyduino.Arduino("COM5")

a.analog[0].set_active(1)
print a.analog[0].read()

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1198961581

Thanks in advice
Logged

Pages: [1]   Go Up
Jump to: