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
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