Commit Graph

213 Commits

Author SHA1 Message Date
twobit
24ef841e87 Merge branch 'master' of github.com:c3d2/pentabug 2013-09-04 00:58:28 +02:00
twobit
6242df8ffb improve music 2013-09-04 00:57:13 +02:00
Thammi
5729a26e96 Remove stupid motor app 2013-09-03 22:51:48 +02:00
Thammi
5b81a6daf7 Add motor stuff to blinker 2013-09-03 22:49:52 +02:00
Thammi
c7433474af Remove dead code 2013-09-03 22:13:47 +02:00
Thammi
82d8b16302 Be more noisy 2013-09-03 22:12:53 +02:00
Thammi
83f3dae9d7 Add buggy behaviour 2013-09-03 22:10:33 +02:00
Thammi
59933f9158 Improve photon stuff 2013-09-03 21:25:07 +02:00
Thammi
9e09d510ac Working light measurement 2013-09-03 20:14:30 +02:00
Thammi
c912d7356c Extend TODOs 2013-08-31 22:38:31 +02:00
Thammi
a51fe1f66d Attempt to port light detection code, not working yet 2013-08-31 22:26:26 +02:00
Thammi
73132a39d4 Add attempt to implement RC-5 sending 2013-08-31 14:17:24 +02:00
Thammi
81373a2826 Add IR to HAL 2013-08-30 21:43:50 +02:00
Thammi
4de44b972d Revert "Save data memory"
This reverts commit 589275a3ba.
2013-08-30 21:06:18 +02:00
Thammi
589275a3ba Save data memory 2013-08-30 19:59:30 +02:00
Thammi
c6adf3f044 Add buttons to pentatonic API 2013-08-30 19:28:37 +02:00
Thammi
5dc11fa681 Support more apps 2013-08-30 18:57:03 +02:00
Thammi
625f7b6107 Add initial pentatonic support 2013-08-30 18:54:23 +02:00
Thammi
a1e24807fb Add notes to buzzer functions 2013-08-30 17:41:35 +02:00
Thammi
4c86295315 Rename music app 2013-08-30 17:33:33 +02:00
Thammi
68e429badb Add documentation to music.c and minor fix to MLDY_PAUSE 2013-08-30 17:31:18 +02:00
Thammi
46d907c172 Remove old TODO 2013-08-30 17:25:06 +02:00
Thammi
a597b69b56 Add buzzer functions and some documentation in the code 2013-08-30 17:23:38 +02:00
Thammi
ff891a1d86 Use melody code for music app 2013-08-29 23:25:46 +02:00
Thammi
1b962ea397 Improved music code 2013-08-29 23:09:01 +02:00
Thammi
26c2c6aa9c Add documentation and convenience hal stuff 2013-08-29 23:07:17 +02:00
Thammi
a86a3bb29b Do not attempt to drive the motor with the pullup ... 2013-08-29 21:16:35 +02:00
Thammi
72ea9dea84 Add motor test application 2013-08-29 20:57:29 +02:00
Thammi
067c9fe0e5 Add high level button code and some documentation 2013-08-29 20:56:43 +02:00
Thammi
3a41210d54 Add unused headers and unnecessary test_stop_app() calls 2013-08-29 19:21:06 +02:00
Thammi
e09eeb7cc2 Add and use wait_ms(); fix some timings 2013-08-29 19:14:30 +02:00
Thammi
f67c122a60 Turn off IR, use HAL in blink and implement some HAL 2013-08-27 00:54:30 +02:00
Thammi
6c6b7713c8 Extend README 2013-08-27 00:45:05 +02:00
Thammi
7916037199 Add melody support and hal stubs 2013-08-27 00:22:38 +02:00
Thammi
cbecd7ef38 Add interrupts, music and much more stuff 2013-08-26 20:39:15 +02:00
Thammi
33f4345e46 Make the non-working skeleton work 2013-08-26 02:30:05 +02:00
Thammi
0002eb48e7 New non-working skeleton for apps 2013-08-26 01:08:00 +02:00
john stone
6a797bc851 fix 2013-07-25 21:09:13 +02:00
bigalex
f248288897 delte some older files 2013-07-08 12:02:24 +02:00
twobit
914962951d sound effect 2012-10-13 17:06:27 +02:00
Thammi
d26f20631b sound detect: deinitialize sound detection mode 2012-10-13 16:50:14 +02:00
Thammi
801a3bc52b Merge branch 'master' of github.com:c3d2/pentabug 2012-10-13 16:33:11 +02:00
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
john stone
17c620ccf7 url with initX section voodo added 2012-10-12 11:52:49 +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
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
bigalex
692b459ce4 added make flsmart for use with mySmartUSB light ISP 2012-10-03 18:47:12 +02:00
bigalex
2bcf64740e higher level button functions implemented 2012-10-01 23:36:37 +02:00
bigalex
e642a725d4 demo for direct switch testing, led and motor control 2012-10-01 22:32:52 +02:00
bigalex
6d039f5e92 switch_l and switch_r in bughal work now 2012-10-01 22:27:16 +02:00
bigalex
4dc176676f fizzbug 2012-10-01 22:11:28 +02:00
bigalex
ebba9c2a59 usart works, timer works 2012-10-01 21:39:25 +02:00
john stone
1590f250fc Merge branch 'master' of github.com:c3d2/pentabug 2012-10-01 21:05:59 +02:00
john stone
c77d4703bb added Makefile for actually working beatifull Makefile 2012-10-01 21:05:37 +02:00