Commit Graph

198 Commits

Author SHA1 Message Date
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
bigalex
fa37eab78f removed backward compatibility for delay.h 2012-10-01 20:09:51 +02:00
bigalex
2937adc985 some cleanup 2012-10-01 19:23:36 +02:00
john stone
d60d120392 code beautify 2012-10-01 05:06:42 +02:00
sebseb7
cffe9361b2 increased BAUD_TOL from 2 to 4 to suppress warning 2012-10-01 04:38:13 +02:00
sebseb7
d4d50d58d7 small fix to make output 2012-10-01 04:36:13 +02:00
sebseb7
4ae73b3e21 compact makefile 2012-10-01 04:32:13 +02:00
sebseb7
d9a21e9a1d fixed compiler warnings 2012-10-01 04:32:00 +02:00
bigalex
61c84c52aa not working yet 2012-09-25 20:19:14 +02:00
john stone
c1c545428b dangerous commets removed from autobaudratecalc 2012-09-25 07:24:00 +02:00
bigalex
9e0ce8e7a5 fixed Makefile 2012-09-19 20:30:10 +02:00
bigalex
d5c66c05a2 temporary sync 2012-09-19 18:45:55 +02:00
bigalex
62bea8d896 ggrcntrbug FTW! 2012-09-06 23:09:20 +02:00
bigalex
6f54c8ccf3 added target test (equivalent to reset) 2012-09-06 20:46:31 +02:00
bigalex
08ff317b14 consolidated build 2012-09-02 23:49:57 +02:00
bigalex
8dc4c5bbc7 Moved libraries to lib directory, added hardware abstraction lib 2012-09-02 23:17:59 +02:00