Commit Graph

227 Commits

Author SHA1 Message Date
Thammi
5b0cdfd1fe cockroach: deinitialize 2012-10-13 16:32:36 +02:00
Thammi
15d45fd496 Add timer abstraction 2012-10-13 16:30:26 +02:00
Thammi
a1bebfd7ed Disable crazy mode 2012-10-12 02:58:15 +02:00
Thammi
2d53c74e3d crazy synth: Fix typo 2012-10-12 02:51:04 +02:00
Thammi
7d3f48f610 crazy synth: Initialize buzzer at start 2012-10-12 02:45:02 +02:00
Thammi
f130bee7be Merge branch 'master' of github.com:c3d2/pentabug 2012-10-12 02:20:23 +02:00
Thammi
c559d7884b cockroach: Some random behaviour 2012-10-12 02:16:21 +02:00
Thammi
9ac3083a8b cockroach: Remove code for second led 2012-10-12 01:22:37 +02:00
Thammi
8ca3783741 Add very simple cockroach 2012-10-12 01:11:37 +02:00
bigalex
a0da114300 turn off the motor before power down 2012-10-12 01:04:26 +02:00
Thammi
a7e72ad69c Fix mode switch bug 2012-10-12 00:50:30 +02:00
twobit
725f50dd0d coz shorter is always better 2012-10-12 00:26:31 +02:00
Thammi
e33a7c2d30 Fix the freqqing synth table 2012-10-12 00:13:46 +02:00
Thammi
668df5d4e4 Revert "Revert "Move synth code from lib to app""
This reverts commit d48a6d67d7.
2012-10-11 23:57:12 +02:00
john stone
219d86f7c4 added wake isr 2012-10-11 23:32:56 +02:00
john stone
20fe3d354f Merge branch 'master' of github.com:c3d2/pentabug 2012-10-11 23:22:52 +02:00
john stone
e51e91ce04 some stuff 2012-10-11 23:22:33 +02:00
Thammi
d48a6d67d7 Revert "Move synth code from lib to app"
This reverts commit 5dd5bdacaa.
2012-10-11 23:05:59 +02:00
Thammi
403314ed83 Deactivate modeswitch_poll() if power down in progress 2012-10-11 19:25:58 +02:00
Thammi
9b85bf3720 Make it compile again 2012-10-11 19:25:48 +02:00
Thammi
5dd5bdacaa Move synth code from lib to app 2012-10-11 19:04:19 +02:00
Thammi
657e55074b Modularize modes to apps 2012-10-11 18:59:09 +02:00
Thammi
619ba7d955 Add compile stuff to gitignore 2012-10-11 18:58:53 +02:00
john stone
bebc6f9925 pwdown still needs isr to wakeup.
put untested pdown code. please add pinchangeirq
for either button
2012-10-11 14:44:38 +02:00
bigalex
dc35106b07 prepared powerdown mode. implement switch combo, blink feedback and signal tone
for powerdown interaction
2012-10-11 00:29:15 +02:00
bigalex
398051ea94 fixed init/deinit inconsitency for mode switching 2012-10-10 22:50:49 +02:00
john stone
9fe752485a fixed bug 2012-10-10 19:40:12 +02:00
john stone
68cd73d423 button code madness 2012-10-10 05:12:38 +02:00
john stone
608ad6e2fe added synth to mode1, major cleanup 2012-10-10 04:15:06 +02:00
bigalex
c654c12385 lighttest integratet to normal operation modes 2012-10-08 22:30:01 +02:00
bigalex
05dbf13916 just measuring fotovoltage witch adc works (with vcc as ref) 2012-10-08 22:16:55 +02:00
bigalex
fb359ed605 measuring with adcbut 10ms is to slow for bright light and to fast for low light 2012-10-08 21:50:44 +02:00
bigalex
eb0a53092d measuring with adcbut 10ms is not fast enough 2012-10-08 21:47:43 +02:00
bigalex
c50925a376 measuring works but in dark light the slope is very flat 2012-10-08 21:22:10 +02:00
bigalex
df5dcc5a44 sync 2012-10-07 17:16:24 +02:00
bigalex
b2a807e5f2 more coments and fixed a bug in crazymoves-mode 2012-10-07 16:30:28 +02:00
bigalex
84bf510e36 some code formatting 2012-10-07 02:04:16 +02:00
bigalex
06dc89109f a bit code beautification 2012-10-07 00:52:53 +02:00
bigalex
799bbdeeeb enable/disable sound and motot by switch in sound detection mode 2012-10-06 00:22:12 +02:00
bigalex
935dcba060 rattling and beeping when detecting sound 2012-10-06 00:06:04 +02:00
bigalex
30851157c7 ADC free running 2012-10-05 23:24:47 +02:00
bigalex
d69160608c measure in ADC in free running mode 2012-10-05 23:24:03 +02:00
bigalex
5d3c3bcb51 better sond measurment, tolerant to static voltage on piezo 2012-10-05 23:11:24 +02:00
bigalex
f1690c6cd1 now detecting sound 2012-10-05 22:43:38 +02:00
bigalex
43a7f3f89f sync 2012-10-05 21:12:26 +02:00
john stone
0daab38fd5 initial schall test 2012-10-05 20:35:33 +02:00
bigalex
e333bfd1f9 missing libraries were missing 2012-10-04 13:57:18 +02:00
bigalex
71fe43176e mode2 for funny movez 2012-10-04 01:03:54 +02:00
bigalex
7ca2a46567 Mode0 is now ggrbug mode 2012-10-04 00:26:53 +02:00
bigalex
92857ec46b some sound with music notes and mode switching 2012-10-03 23:41:15 +02:00