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

pulseIn error attiny13a #114

Open
yudimoss opened this issue Oct 7, 2020 · 0 comments
Open

pulseIn error attiny13a #114

yudimoss opened this issue Oct 7, 2020 · 0 comments

Comments

@yudimoss
Copy link

yudimoss commented Oct 7, 2020

I'm trying to use pulseIn at attiny13a while at attiny85 has working with same code but there have problem when uploading the sketch with code
"sg=pulseIn(2,HIGH);" //at attiny85 its work
error mesage
" exit status 1
too few arguments to function 'uint32_t pulseIn(uint8_t, uint8_t, uint32_t)' "
When I put timeout in the code "sg=pulseIn(2,HIGH,1000000);" it can uploading but not work properly
Can you help me how to use pulseIn at attiny13a? Thank you

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

No branches or pull requests

1 participant