stdio_set_chars_available_callback() function
get notified when there are input characters available
Syntax
void stdio_set_chars_available_callback(void (*fn)(void*),
void *param);
Arguments
fn
Callback function to be called when characters are available. Pass NULL to cancel any existing callback
param
Pointer to pass to the callback
Examples
stdio_set_chars_available_callback() is referenced by 2 libraries and example projects: