Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-09 | Replace array size calculation with macro | Lars-Dominik Braun | 1 | -4/+3 | |
2015-02-27 | Add license | Lars-Dominik Braun | 1 | -0/+23 | |
2015-02-26 | gyro: Async stop request | Lars-Dominik Braun | 1 | -17/+14 | |
Fixes assertion failure in gyroStop() | |||||
2015-02-10 | accel: Nonblocking | Lars-Dominik Braun | 1 | -5/+3 | |
2015-02-10 | Reduce CPU frequency | Lars-Dominik Braun | 1 | -9/+8 | |
Also reduces PWM frequency. The speakers resonance frequency is 2kHz, with 1MHz clock speed and prescaler 256 we get pretty close. | |||||
2015-01-29 | Replace enums with uint8_t | Lars-Dominik Braun | 1 | -1/+9 | |
Saves a few bytes, since enums are 16 bit | |||||
2015-01-20 | i2c: twRequests returns false if bus is busy | Lars-Dominik Braun | 1 | -19/+19 | |
2015-01-20 | gyro: Fix non-blocking start | Lars-Dominik Braun | 1 | -23/+31 | |
The I2C bus may not be free when starting the gyro. Add two additional states. | |||||
2014-12-09 | gyro: non-blocking start/stop, enable only when required | Lars-Dominik Braun | 1 | -34/+64 | |
Save energy by disabling the gyro most of the time (i.e. not in selection mode). | |||||
2014-11-25 | gyro/accel: Disable pull-ups | Lars-Dominik Braun | 1 | -4/+3 | |
Not sure they are needed. | |||||
2014-11-25 | gyro: Reduce sensitivity | Lars-Dominik Braun | 1 | -3/+3 | |
2014-09-30 | Reliable reboot, idle status LED indicator | Lars-Dominik Braun | 1 | -0/+2 | |
2014-09-30 | Add wakeup source mechanism | Lars-Dominik Braun | 1 | -5/+13 | |
Should reduce amount of cpu wakeups with expensive computations. | |||||
2014-07-29 | i2c: Make sure status is _OK | Lars-Dominik Braun | 1 | -1/+1 | |
Not sure if this fixes anything. | |||||
2014-07-22 | Convert printf into puts | Lars-Dominik Braun | 1 | -4/+4 | |
Removes ~1.5k code size, still not working. | |||||
2014-06-17 | ui: Added | Lars-Dominik Braun | 1 | -6/+12 | |
Seems to work mostly now. | |||||
2014-05-27 | Fix compiler warnings | Lars-Dominik Braun | 1 | -3/+3 | |
2014-05-20 | gyro/accel: disable x/y axis | Lars-Dominik Braun | 1 | -25/+24 | |
Currently unused. | |||||
2014-04-29 | gyro: Replace (broken) angle with ticks | Lars-Dominik Braun | 1 | -20/+37 | |
2014-04-22 | Fix interrupt stuff | Lars-Dominik Braun | 1 | -9/+7 | |
Sorta polling based now, with interrupts used to wake up from sleep only. At least it works. | |||||
2014-04-22 | Activate accel + timer | Lars-Dominik Braun | 1 | -2/+2 | |
2014-04-22 | Add common.h | Lars-Dominik Braun | 1 | -5/+2 | |
2014-04-22 | Initial accel implementation | Lars-Dominik Braun | 1 | -4/+4 | |
2014-04-22 | gyro: Calculate angle | Lars-Dominik Braun | 1 | -10/+51 | |
2014-03-08 | gyroscope: Rename to gyro | Lars-Dominik Braun | 1 | -0/+77 | |