aboutsummaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/main.c b/main.c
index 608327c..84aa75e 100644
--- a/main.c
+++ b/main.c
@@ -60,9 +60,11 @@ int main () {
gyroStart ();
accelStart ();
+#if 0
speakerStart ();
_delay_ms (200);
speakerStop ();
+#endif
timerStart ();
bool checkGyro = false;
@@ -81,7 +83,9 @@ int main () {
sleep_cpu ();
sleep_disable ();
}
- printf ("ticks=%i\n", gyroGetZTicks ());
+
+ printf ("t=%i, h=%i, s=%i\n", gyroGetZTicks (), accelGetHorizon (),
+ accelGetShakeCount ());
#if 0
volatile const int32_t *gyroval = gyroGetAccum ();
volatile const int16_t *gyroraw = gyroGetRaw ();