Skip to content

pulseIn error attiny13a #114

@yudimoss

Description

@yudimoss

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions