arduino icon indicating copy to clipboard operation
arduino copied to clipboard

board.analogRead returning empty string

Open gmalette opened this issue 12 years ago • 3 comments

I set up a potentiometer on pin 0. When I try to get it's value, analogRead returns an empty string.

board.analogRead(0)
#=> ""

gmalette avatar Jul 08 '12 04:07 gmalette

Please use the "development" branch. That fixes these issues.

Akash Manohar J http://akash.im @HashNuke

On Sunday 8 July 2012 at 10:02 AM, Guillaume Malette wrote:

I set up a potentiometer on pin 0. When I try to get it's value, analogRead returns an empty string.

board.analogRead(0)
#=> ""

Reply to this email directly or view it on GitHub: https://github.com/HashNuke/arduino/issues/8

HashNuke avatar Jul 08 '12 05:07 HashNuke

I get the same issue running the development branch arduino.pde along with the gem built from the development branch.

I either get an empty string or it hangs.

If it matters I'm using 1.9.3 under OSX Lion

gmalette avatar Jul 08 '12 05:07 gmalette

Let me check that and get back.

Akash Manohar J http://akash.im @HashNuke

On Sunday 8 July 2012 at 11:15 AM, Guillaume Malette wrote:

I get the same issue running the development branch arduino.pde along with the gem built from the development branch.

I either get an empty string or it hangs.


Reply to this email directly or view it on GitHub: https://github.com/HashNuke/arduino/issues/8#issuecomment-6829086

HashNuke avatar Jul 08 '12 05:07 HashNuke