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

sensor read problem #45

Open
GoogleCodeExporter opened this issue Sep 11, 2015 · 0 comments
Open

sensor read problem #45

GoogleCodeExporter opened this issue Sep 11, 2015 · 0 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. reading my accelerometer with int timeX = pulseIn(4, HIGH);
2. converting time pulse to milli-gees with int gX = ((timeX / 10) - 500) * 8;
3. printing value onto screen with TV.print(gX);

What is the expected output? What do you see instead?
when my accelerometer is level around 0. i see crazy numbers that resemble a 
counter. it goes from around 700 - 4000 or something like that. i can send the 
data via serial to my computer no problem but once i try to print it to tv it 
doesnt work

What version of the product are you using? On what operating system?
TVoutBeta1 on windows 7 64 bit

Please provide any additional information below.
i've isolated the problem down to the actual pulseIn function...

Original issue reported on code.google.com by bomber8...@gmail.com on 20 Apr 2012 at 4:41

Attachments:

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