MicroCore icon indicating copy to clipboard operation
MicroCore copied to clipboard

pulseIn error attiny13a

Open yudimoss opened this issue 5 years ago • 1 comments

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

yudimoss avatar Oct 07 '20 01:10 yudimoss