Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-06-09 | Fix interrupt-based shake/horizon detection | Lars-Dominik Braun | 1 | -33/+35 | |
Fixes commit e2e3038c627ea7460915cdd535cb91301af614a7. | |||||
2015-02-27 | Add license | Lars-Dominik Braun | 1 | -0/+23 | |
2015-02-26 | accel: Stop polling | Lars-Dominik Braun | 1 | -131/+123 | |
Use freefall interrupts instead. This drop the fancy horizon/shake detection algorithms, but it works surprisingly well and is way more energy-efficient. Shake detection is a little too sensitive imo and horizon detection needs some tweaking too. | |||||
2015-02-10 | accel: Nonblocking | Lars-Dominik Braun | 1 | -44/+63 | |
2015-02-10 | Reduce CPU frequency | Lars-Dominik Braun | 1 | -15/+13 | |
Also reduces PWM frequency. The speakers resonance frequency is 2kHz, with 1MHz clock speed and prescaler 256 we get pretty close. | |||||
2015-01-29 | accel: Ignore shake if horizon changed | Lars-Dominik Braun | 1 | -2/+9 | |
2015-01-29 | accel: Fix shake detection, again | Lars-Dominik Braun | 1 | -8/+13 | |
Only two peaks are required. Use int16 to avoid overflow. Check sign before registering shake in other direction. | |||||
2015-01-13 | Remove debugging puts/fwrite | Lars-Dominik Braun | 1 | -5/+3 | |
We’re tight on SRAM and the stack seems overflow from time to time. Removing the strings should give us some breathing room. | |||||
2014-12-09 | accel: Fix shake gesture detection | Lars-Dominik Braun | 1 | -51/+50 | |
2014-11-25 | gyro/accel: Disable pull-ups | Lars-Dominik Braun | 1 | -6/+5 | |
Not sure they are needed. | |||||
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/+5 | |
Removes ~1.5k code size, still not working. | |||||
2014-06-17 | ui: Added | Lars-Dominik Braun | 1 | -0/+4 | |
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 | -12/+10 | |
Currently unused. | |||||
2014-05-06 | accel: Add horizon/shake detection | Lars-Dominik Braun | 1 | -0/+109 | |
2014-04-22 | Fix interrupt stuff | Lars-Dominik Braun | 1 | -8/+7 | |
Sorta polling based now, with interrupts used to wake up from sleep only. At least it works. | |||||
2014-04-22 | Increase CPU and UART speed | Lars-Dominik Braun | 1 | -1/+1 | |
Re-enable interrupt based accel. | |||||
2014-04-22 | Activate accel + timer | Lars-Dominik Braun | 1 | -12/+15 | |
2014-04-22 | Add common.h | Lars-Dominik Braun | 1 | -5/+2 | |
2014-04-22 | Initial accel implementation | Lars-Dominik Braun | 1 | -0/+88 | |