arduino stuffs
Diffstat (limited to 'steer/steer.ino')
-rw-r--r--steer/steer.ino15
1 files changed, 0 insertions, 15 deletions
diff --git a/steer/steer.ino b/steer/steer.ino
deleted file mode 100644
index 01024a7..0000000
--- a/steer/steer.ino
+++ /dev/null
@@ -1,15 +0,0 @@
-// #include "Streaming.h"
-#include "buttons.h"
-
-#define UPDATE_INTERVAL 5
-
-void setup() { Controller::begin(); }
-
-void loop() {
- unsigned long time = millis();
- Controller::send();
- time = millis() - time; // time elapsed in reading the inputs
- if (time < UPDATE_INTERVAL)
- // sleep till it is time for the next update
- delay(UPDATE_INTERVAL - time);
-}