aboutsummaryrefslogtreecommitdiff
path: root/gyro.c
AgeCommit message (Collapse)AuthorFilesLines
2015-01-20gyro: Fix non-blocking startLars-Dominik Braun1-23/+31
The I2C bus may not be free when starting the gyro. Add two additional states.
2014-12-09gyro: non-blocking start/stop, enable only when requiredLars-Dominik Braun1-34/+64
Save energy by disabling the gyro most of the time (i.e. not in selection mode).
2014-11-25gyro/accel: Disable pull-upsLars-Dominik Braun1-4/+3
Not sure they are needed.
2014-11-25gyro: Reduce sensitivityLars-Dominik Braun1-3/+3
2014-09-30Reliable reboot, idle status LED indicatorLars-Dominik Braun1-0/+2
2014-09-30Add wakeup source mechanismLars-Dominik Braun1-5/+13
Should reduce amount of cpu wakeups with expensive computations.
2014-07-29i2c: Make sure status is _OKLars-Dominik Braun1-1/+1
Not sure if this fixes anything.
2014-07-22Convert printf into putsLars-Dominik Braun1-4/+4
Removes ~1.5k code size, still not working.
2014-06-17ui: AddedLars-Dominik Braun1-6/+12
Seems to work mostly now.
2014-05-27Fix compiler warningsLars-Dominik Braun1-3/+3
2014-05-20gyro/accel: disable x/y axisLars-Dominik Braun1-25/+24
Currently unused.
2014-04-29gyro: Replace (broken) angle with ticksLars-Dominik Braun1-20/+37
2014-04-22Fix interrupt stuffLars-Dominik Braun1-9/+7
Sorta polling based now, with interrupts used to wake up from sleep only. At least it works.
2014-04-22Activate accel + timerLars-Dominik Braun1-2/+2
2014-04-22Add common.hLars-Dominik Braun1-5/+2
2014-04-22Initial accel implementationLars-Dominik Braun1-4/+4
2014-04-22gyro: Calculate angleLars-Dominik Braun1-10/+51
2014-03-08gyroscope: Rename to gyroLars-Dominik Braun1-0/+77