aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-09-30LED error code for assert()Lars-Dominik Braun2-4/+18
2014-09-30Add wakeup source mechanismLars-Dominik Braun9-24/+67
Should reduce amount of cpu wakeups with expensive computations.
2014-09-16timer: Support timeouts > 8sLars-Dominik Braun2-13/+64
2014-09-16Auto stop alarmLars-Dominik Braun1-4/+10
Currently triggers assert in timer.c
2014-09-16Finally fix speakerLars-Dominik Braun7-134/+62
Use one timer for LED/speaker. Not sure why two did not work.
2014-08-26speaker: Fix beepLars-Dominik Braun1-9/+20
Finally beeps. XXX: nope, it does not.
2014-08-19Add AVRdude terminalLars-Dominik Braun1-0/+3
2014-08-19Switch to new timer, fix usabilityLars-Dominik Braun1-62/+102
Seems to work so far, gyro is a little too sensitive.
2014-08-19timer: Support arbitrary timer valuesLars-Dominik Braun2-16/+32
FIXME: large values do not work yet.
2014-08-05pwm: Add brightness controlLars-Dominik Braun2-54/+55
2014-07-29i2c: Make sure status is _OKLars-Dominik Braun3-4/+4
Not sure if this fixes anything.
2014-07-22Use “volatile” on struct membersLars-Dominik Braun2-7/+7
Not all struct members are written in an ISR.
2014-07-22Convert printf into putsLars-Dominik Braun8-30/+37
Removes ~1.5k code size, still not working.
2014-07-22Speaker and LED pwmLars-Dominik Braun7-38/+73
Something is not correct here, stack overflow?
2014-07-08Enable assert messagesLars-Dominik Braun2-1/+4
2014-07-08Coarse/fine selection modesLars-Dominik Braun2-71/+90
2014-06-17Alarm state + defines + documentationLars-Dominik Braun3-23/+62
2014-06-17Translate LED id’s based on orientationLars-Dominik Braun1-8/+19
And fix orientation change detection.
2014-06-17ui: AddedLars-Dominik Braun8-48/+261
Seems to work mostly now.
2014-06-10pwm: Implement blinkLars-Dominik Braun2-42/+75
Still flickers a little bit, might have to increase frequency…
2014-05-27Fix compiler warningsLars-Dominik Braun9-16/+23
2014-05-27pwm: Initial LED PWMLars-Dominik Braun4-16/+103
2014-05-20timer: Switch to 16 bit timer (timer1)Lars-Dominik Braun1-34/+21
2014-05-20gyro/accel: disable x/y axisLars-Dominik Braun4-40/+37
Currently unused.
2014-05-06accel: Add horizon/shake detectionLars-Dominik Braun3-1/+118
2014-04-29speaker: Initial implementationLars-Dominik Braun4-1/+65
2014-04-29gyro: Replace (broken) angle with ticksLars-Dominik Braun3-25/+49
2014-04-22Fix interrupt stuffLars-Dominik Braun4-22/+20
Sorta polling based now, with interrupts used to wake up from sleep only. At least it works.
2014-04-22Increase CPU and UART speedLars-Dominik Braun5-8/+40
Re-enable interrupt based accel.
2014-04-22Activate accel + timerLars-Dominik Braun6-30/+64
2014-04-22Add common.hLars-Dominik Braun5-18/+19
2014-04-22Initial accel implementationLars-Dominik Braun5-10/+101
2014-04-22gyro: Calculate angleLars-Dominik Braun3-27/+59
2014-03-08gyroscope: Rename to gyroLars-Dominik Braun5-24/+24
2014-03-05Remove delay, add error detectionLars-Dominik Braun1-5/+13
2014-03-05i2c: Add missing breakLars-Dominik Braun1-1/+2
2014-03-05i2c: Add multi writeLars-Dominik Braun3-60/+34
2014-02-26Add gyroscope abstraction layerLars-Dominik Braun6-24/+114
2014-02-24Add simple timer that counts one secondLars-Dominik Braun4-25/+80
2014-02-19Add missing dependencyLars-Dominik Braun1-1/+1
2014-02-13Split up main.cLars-Dominik Braun7-323/+367
2014-02-13First timer tests + sleep modeLars-Dominik Braun1-3/+31
2014-02-04Interrupt-based readLars-Dominik Braun1-88/+163
2014-02-04Write with interrupt + multi-readLars-Dominik Braun1-85/+148
2014-01-30Remove unused stuffLars-Dominik Braun1-115/+0
2014-01-30check the other sensorLars-Dominik Braun1-8/+10
2014-01-30Use twi constantsLars-Dominik Braun1-10/+10
2014-01-30Unix line endingsLars-Dominik Braun1-359/+355
2014-01-30Initial importLars-Dominik Braun2-0/+371