Add mgos_gpio_read(); mgos_[mu]sleep()

This commit is contained in:
Pim van Pelt
2018-11-04 14:17:00 +01:00
parent 5ebd4b112a
commit 8cfcfc9af3
4 changed files with 17 additions and 0 deletions

View File

@ -32,6 +32,7 @@ bool mgos_gpio_set_button_handler(int pin, enum mgos_gpio_pull_type pull_type,
enum mgos_gpio_int_mode int_mode,
int debounce_ms, mgos_gpio_int_handler_f cb,
void *arg);
bool mgos_gpio_read(int pin);
void mgos_gpio_inject(int pin);