Commit Graph

172 Commits

Author SHA1 Message Date
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
bigalex
71d27f92af moved synth.c and usart.c to lib dir 2012-09-02 21:53:11 +02:00
bigalex
b46ccc1618 rolled back unwanted changes (testcode) to prevoius version in main.c 2012-08-27 09:43:42 +02:00
bigalex
eebe3c27cf replaced mounting holes with big vias 2012-08-27 09:17:56 +02:00
john stone
6e24129648 sorry 2bt... need to play the 8bit way 2012-08-14 22:53:25 +02:00
john stone
96d7a0ed9d 8bitalized synth output stage 1 2012-08-14 19:58:45 +02:00
bigalex
0ac038179c some synth --- sync 2012-08-14 19:10:33 +02:00
bigalex
8d8e8ed9a0 implemented timeslot queue to fix #2 but sound is still a bit strange 2012-08-13 22:33:28 +02:00
bigalex
6d2d1eae1e sent patterns and freq_table to programspace to fix #1 2012-08-13 20:41:23 +02:00
bigalex
933528c133 Some code for measuring brightness, but not working yet 2012-08-12 01:35:00 +02:00
bigalex
7144b7d1d0 Enabling timer 2 for LED testing 2012-08-11 21:08:50 +02:00
bigalex
f2c95d9503 Please use "MCU=<yourmcutype> make" from now on to set MCU type 2012-08-11 21:07:31 +02:00
john stone
2af49f7f7c Merge branch 'master' of github.com:c3d2/pentabug 2012-08-09 15:11:46 +02:00
john stone
ffe6770657 johns protokitchen has diffrunt pr0grummur 2012-08-09 15:11:12 +02:00
twobit
eef4ec0e44 slow donw, put stuff into header 2012-08-08 03:24:21 +02:00
bigalex
a5c2cfebea removed USART test from ISR 2012-08-07 20:08:57 +02:00
bigalex
65ea2847dd added USART library, some subroutines, and test 2012-08-07 20:03:41 +02:00
twobit
b1ceea95fd reshuffle instrument 2012-08-06 16:53:51 +02:00
twobit
4d72760342 some little melody 2012-08-06 16:51:01 +02:00
twobit
2dd9f75836 wrap freq lookup index 2012-08-06 15:51:12 +02:00
twobit
6308e1fe85 implement synth structure; some test bleeps 2012-08-06 15:42:43 +02:00
twobit
34f3aa9e36 frequency table 2012-08-06 15:40:09 +02:00
john stone
102f482d8e all sample and legacy code thrown out of main 2012-08-06 13:25:33 +02:00
john stone
2a42029d15 fixmd 2012-08-06 12:47:56 +02:00
john stone
6fe21f0bfc added flash README 2012-08-06 12:43:35 +02:00
twobit
9b6bc4c5a2 change test values 2012-08-06 04:05:58 +02:00
twobit
aa94ac20e3 noise 2012-08-06 04:05:19 +02:00