-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Milestone
Description
When I created my Serial toolkit it took some time to get int getchar_timeout_us (uint32_t timeout_us)
working.
I failed to spot the return type was int and as I was expecting a byte back, used uint8_t. Only after a bit of debugging (all praise the PicoProbe) did I figure out my mistake.
Additionally, the values for PICO_ERROR_GENERIC and PICO_ERROR_TIMEOUT are not explicitly documented in the SDK pdf - there is the reference to the PICO_ERROR_ family but you don't find that if you search on the whole string. I ferreted them out of the source which was when I joined up the dots.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation