Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

analog inputs or digital inputs don't work now and then #6

Open
GoogleCodeExporter opened this issue Jul 27, 2015 · 2 comments
Open

Comments

@GoogleCodeExporter
Copy link

I've programmed a monitor application to set and read inputs - outputs on
the Arduion. Sometimes when I start up the application I cannot
getDigitalData from the inputs. 

This happens more often when a have made an input high ( with a button )
and then startup the Flash application ( and thus reset Firmata with Glue ). 

I added a reset button to do a 'a.requestFirmwareVersion()'. I tried 
resetBoard() before but that doesn't seem to do anything. 

Resetting in that way sometimes solves the issue. However if I do it a few
times, the analog inputs are not sensed anymore ( amount of reset times is
not solid, sometimes after 3 times, sometimes 30 ).  
But I can keep reading the digital inputs. 

I don't get any errors. 

I've included my files. Maybe someone can see directly what goes wrong. 

I use standard firmata version 2.



Original issue reported on code.google.com by kasperka...@gmail.com on 11 Sep 2009 at 8:30

Attachments:

@GoogleCodeExporter
Copy link
Author

considering the part below ( from the issue ) :
[
Resetting in that way sometimes solves the issue. However if I do it a few
times, the analog inputs are not sensed anymore ( amount of reset times is
not solid, sometimes after 3 times, sometimes 30 ).  
But I can keep reading the digital input
]

Resetting the board physically ( thus by pressing the reset button on the board 
),
solves the analog inputs that are not being sensed. However, I would like to do 
it
with actionscript code. 

Original comment by kasperka...@gmail.com on 13 Sep 2009 at 8:42

@GoogleCodeExporter
Copy link
Author

Ok, problem seems solved. 
I connected the Arduino through an USB hub. That made it a bit instable I 
think. Now
it works fine. 

Only one question left : 
The arduino.resetBoard() function doesn't seem to do anything. 
The command is received, but the board keeps running the same. 

Original comment by kasperka...@gmail.com on 17 Sep 2009 at 1:27

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant