Commit Graph

144 Commits

Author SHA1 Message Date
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
twobit
c201133ee9 prepare playback if's 2012-08-06 03:44:37 +02:00
twobit
fa4e023f21 different waveforms 2012-08-06 03:35:28 +02:00
twobit
e007b86e92 separate synth code from main 2012-08-06 02:52:03 +02:00
twobit
a2dca81d7c polyphonie 2012-08-06 01:45:37 +02:00
bigalex
e854e40974 base frequency of pwm lowered 2012-08-06 00:19:47 +02:00
bigalex
17f44d2c85 some sound synthesis 2012-08-06 00:16:17 +02:00
john stone
45d4195219 Merge branch 'master' of github.com:c3d2/pentabug
Conflicts:
	firmware/main.c
2012-08-05 22:19:28 +02:00
john stone
23a39a3344 mods before merge 2012-08-05 22:17:27 +02:00
bigalex
97fd29480d commit for sync 2012-08-05 22:13:43 +02:00
bigalex
b325262268 changed make flash for serial bootlader to make serflash, changed make flash to support usbtiny isp programmer, set fuses to correct values (default, no brownout, but internal to 8 MHz insted of 1/8 RC 2012-08-05 21:28:55 +02:00
twobit
df698cc8fc nice accord 2012-07-26 02:27:12 +02:00
twobit
8635d834d3 call init_sampletimer 2012-07-26 02:20:55 +02:00
twobit
8896169bb2 did stuff 2012-07-26 02:19:59 +02:00
john stone
36cca6cfcf Merge branch 'master' of github.com:c3d2/pentabug
Conflicts:
	firmware/main.c
2012-07-26 01:50:48 +02:00
john stone
f9043353b1 added timer0 isr and init 2012-07-26 01:34:49 +02:00
twobit
4fde5f01ae start synth implementation 2012-07-26 01:26:45 +02:00
john stone
bdb309c58c Completed with no bugs... 2012-07-24 23:07:08 +02:00
john stone
cb1e79ad2c weiß nich mehr... motor pwm stuff 2012-07-24 19:51:15 +02:00
john stone
31c89dfd9a reread datasheet.. this time awake 2012-07-18 16:18:36 +02:00
john stone
9039623099 some cleanups 2012-07-18 15:58:53 +02:00
john stone
bbd624a60b testpwmcode 2012-07-18 02:34:15 +02:00
john stone
e3bef7dfd8 initial firmware... narf enabled 2012-07-17 01:05:27 +02:00