Go Down

Topic: Anyone using Pyduino for Python w/Firmata (Read 477 times) previous topic - next topic


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: [Select]

import pyduino
import time

a = pyduino.Arduino("COM5")

print a.analog[0].read()


Thanks in advice

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131