Add lightswitch to this firmware

This commit is contained in:
Pim van Pelt
2017-12-20 17:04:51 +01:00
parent 7ba19c8372
commit 1cbd2130db
24 changed files with 749 additions and 13 deletions

View File

@ -49,3 +49,7 @@ void mgos_clear_timer(mgos_timer_id id) {
return;
}
float mg_time() {
return (float) time(NULL);
}