aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cxx')
-rw-r--r--src/main.cxx21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/main.cxx b/src/main.cxx
new file mode 100644
index 0000000..7734d6e
--- /dev/null
+++ b/src/main.cxx
@@ -0,0 +1,21 @@
+int main(void)
+{
+ init();
+ setup();
+
+ while (1) {
+ loop();
+ }
+ return 0;
+}
+
+
+/* Implemented:
+ * void pinMode(pin, mode)
+ * void digitalWrite(pin, value)
+ * uint32_t digitalRead(pin)
+ * uint32_t analogRead(pin)
+ * void randomSeed(seed)
+ * long random(max)
+ * long random(min, max)
+ * */