platform for developing on SQFMI's Watchy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

25 lines
544 B

/*
Name: watchos2.ino
Created: 6/30/2021 9:38:10 PM
Author: Adam
*/
#include "watchos.h"
#include "Task_Test.cpp"
#include <Preferences.h>
// the setup function runs once when you press reset or power the board
void setup() {
delay(500);
watchos::initialize();
Kernel* kernel = watchos::kernel();
watchos::run(new Task_Test());
watchos::debug("Setup done!");
kernel->pushEvent(0xDEADBEEFu, 0x01, 0x10, 0x20);
}
// the loop function runs over and over again until power down or reset
void loop() {
watchos::kernel()->tick();
}