20130601-181003

This commit is contained in:
BlubbFish 2013-06-01 16:09:45 +00:00
parent ebf2e7512d
commit d7f9b0086e
8 changed files with 845 additions and 788 deletions

Binary file not shown.

View File

@ -1,57 +1,67 @@
:1000000014C021C020C01FC01EC01DC01CC01BC00A :1000000014C021C020C01FC01EC01DC01CC01BC00A
:100010001AC019C018C017C016C015C014C013C02C :100010001AC019C018C017C016C015C014C013C02C
:1000200012C011C010C00FC00EC011241FBECFEDF2 :1000200012C011C010C00FC00EC011241FBECFEDF2
:10003000CDBF20E0A0E6B0E001C01D92A336B2071C :10003000CDBF20E0A0E6B0E001C01D92A036B2071F
:10004000E1F78FD194C1DCCF6770772780FF06C0BE :10004000E1F7E2D1E7C1DCCF6770772780FF06C018
:1000500098B3987F98BB98B3962B98BB81FF0DC03F :1000500098B3987F98BB98B3962B98BB81FF0DC03F
:1000600098B3977C98BB98B39B01220F331F220F44 :1000600098B3977C98BB98B39B01220F331F220F44
:10007000331F220F331F292B28BB82FF06C092B3E8 :10007000331F220F331F292B28BB82FF06C092B3E8
:10008000987F92BB92B3962B92BB83FF0CC082B336 :10008000987F92BB92B3962B92BB83FF0CC082B336
:10009000877C82BB82B3660F771F660F771F660F60 :10009000877C82BB82B3660F771F660F771F660F60
:1000A000771F682B62BB08956F927F928F929F9209 :1000A000771F682B62BB08952F923F924F925F9209
:1000B000AF92BF92CF92DF92EF92FF920F931F9376 :1000B0006F927F928F929F92AF92BF92CF92DF9278
:1000C000CF93DF934C015B016A017901C0E0D0E07E :1000C000EF92FF920F931F93CF93DF938C014B011D
:1000D00001E010E0612C712CC801CA15DB050CF0A1 :1000D0006A013901E12CF12C312C212C2CC0C42DCA
:1000E000C301BC01CC15DD050CF46260CE15DF0543 :1000E000D52DB401C801B0DF2196CF3FD105C9F7A6
:1000F0000CF46460C401A8DF2196CF3FD10561F7FD :1000F0001E141F044CF4C32DD22DB601C801A4DF79
:10010000DF91CF911F910F91FF90EF90DF90CF90F3 :100100002196CE15DF05C9F78FEFA81AB80AA614F5
:10011000BF90AF909F908F907F906F9008952F9297 :10011000B70429F409C0A12CB12C4E2C5F2C8FEF11
:100120003F924F925F926F927F928F929F92AF9287 :10012000E816F104E4F2E4CF8FEFE81AF80A8FEF53
:10013000BF92CF92DF92EF92FF920F931F93CF93D4 :10013000E816F10421F0161417046CF3F5CFDF91E3
:10014000DF938C014B016A013901E12CF12C312C38 :10014000CF911F910F91FF90EF90DF90CF90BF90D4
:10015000212C2CC0C42DD52DB401C80175DF2196EA :10015000AF909F908F907F906F905F904F903F9067
:10016000CF3FD105C9F71E141F044CF4C32DD22D67 :100160002F90089566E070E085E090E06DDF2FE766
:10017000B601C80169DF2196CE15DF05C9F78FEFFB :1001700088E391E0215080409040E1F700C000000A
:10018000A81AB80AA614B70429F409C0A12CB12CE6 :1001800060E070E085E090E05FDF2FE784E89EE1CB
:100190004E2C5F2C8FEFE816F104E4F2E4CF8FEFE2 :10019000215080409040E1F700C0000066E070E030
:1001A000E81AF80A8FEFE816F10421F01614170484 :1001A0008FE090E051DF8FE493EC0197F1F700C00E
:1001B0006CF3F5CFDF91CF911F910F91FF90EF90EE :1001B000000060E070E08FE090E046DF9FE72AE11A
:1001C000DF90CF90BF90AF909F908F907F906F9077 :1001C00086E0915020408040E1F700C0000066E0EA
:1001D0005F904F903F902F90089566E070E085E02B :1001D00070E08FE090E038DF9FE728E381E0915006
:1001E00090E032DF2FE788E391E02150804090409B :1001E00020408040E1F700C0000060E070E08FE058
:1001F000E1F700C0000060E070E085E090E024DFFF :1001F00090E02ADF9FE72AE186E09150204080408E
:100200002FE784E89EE1215080409040E1F700C054 :10020000E1F700C0000066E070E08FE090E01CDFE6
:10021000000066E070E08FE090E016DF8FE493EC82 :100210009FEB24ED81E0915020408040E1F700C049
:100220000197F1F700C0000060E070E08FE090E01F :10022000000060E070E08FE090E00EDF9FEF28E0DC
:100230000BDF9FE72AE186E0915020408040E1F704 :100230008DE3915020408040E1F700C0000024E1B0
:1002400000C0000066E070E08FE090E0FDDE9FE718 :1002400030E047E050E066E070E08FE090E02CDFC7
:1002500028E381E0915020408040E1F700C0000099 :1002500060E070E08FE090E0F7DE089588B3806C96
:1002600060E070E08FE090E0EFDE9FE72AE186E05B :1002600088BB969A8FE493EC0197F1F700C00000E9
:10027000915020408040E1F700C0000066E070E04F :10027000089560E070E08FE090E0E6DE2FE78DE823
:100280008FE090E0E1DE9FEB24ED81E09150204093 :100280009BE5215080409040E1F700C0000067E00E
:100290008040E1F700C0000060E070E08FE090E097 :1002900070E08FE090E0D8DE2FEF8AE197EB2150FD
:1002A000D3DE9FEF28E08DE3915020408040E1F7BE :1002A00080409040E1F700C0000014E1DAE063E034
:1002B00000C0000024E130E047E050E066E070E07C :1002B00070E08FE090E0C8DE2FEF8AE197EB2150ED
:1002C0008FE090E02CDF089560E070E08FE090E038 :1002C00080409040E1F700C000002FEF8AE197EBFB
:1002D000BBDEB7990EC0809162008F5F8093620091 :1002D000215080409040E1F700C000002FEF8AE1FC
:1002E0002FE78AE196E0215080409040E1F700C07E :1002E00097EB215080409040E1F700C000002FEFD5
:1002F0000000B6990EC0809160008F5F809360000F :1002F00088E09DE3215080409040E1F700C000007D
:100300002FE78AE196E0215080409040E1F700C05D :10030000C12F60E070E08FE090E09EDE2FE38DE093
:10031000000086990EC0809161008F5F809361001C :1003100093E0215080409040E1F700C0000063E08E
:100320002FE78AE196E0215080409040E1F700C03D :1003200070E08FE090E090DE2FE38DE093E02150CD
:10033000000020916100409160006091620030E017 :1003300080409040E1F700C00000C15011F762E03A
:1003400050E070E08FE090E0AFDEC3CF88B3806C08 :1003400070E08FE090E080DE2FE786E998E92150A9
:1003500088BB969A8FE493EC0197F1F700C00000F8 :1003500080409040E1F700C0000063E070E08FE073
:1003600008958FE387BB81BBF1DF37DFADDFF89402 :1003600090E072DE2FEF8AE197EB215080409040C1
:02037000FFCFBD :10037000E1F700C000002FEF8AE197EB21508040A9
:100380009040E1F700C000002FEF8AE197EB215089
:1003900080409040E1F700C000002FEF88E09DE32F
:1003A000215080409040E1F700C00000CD2F60E078
:1003B00070E08FE090E048DE2FE38DE093E0215085
:1003C00080409040E1F700C0000063E070E08FE003
:1003D00090E03ADE2FE38DE093E0215080409040A2
:1003E000E1F700C00000C15011F761E070E08FE05C
:1003F00090E02ADE2FE786E998E92150804090407E
:10040000E1F700C0000053CF8FE387BB81BB26DF3D
:08041000A9DE2FDFF894FFCFF5
:00000001FF :00000001FF

File diff suppressed because it is too large Load Diff

View File

@ -9,12 +9,18 @@ Discarded input sections
.bss 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o .bss 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o
.text 0x00000000 0x0 Leuchtklotz.o .text 0x00000000 0x0 Leuchtklotz.o
.bss 0x00000000 0x3 Leuchtklotz.o
.text.rgbl 0x00000000 0x76 Leuchtklotz.o
.text.programColorFull
0x00000000 0x7a Leuchtklotz.o
.text.programRainbow .text.programRainbow
0x00000000 0x80 Leuchtklotz.o 0x00000000 0x82 Leuchtklotz.o
.text.programWarnYellow .text.programWarnYellow
0x00000000 0x9a Leuchtklotz.o 0x00000000 0x9a Leuchtklotz.o
.text.programCop .text.programCop
0x00000000 0x144 Leuchtklotz.o 0x00000000 0x144 Leuchtklotz.o
.text.programWarnBlink
0x00000000 0x152 Leuchtklotz.o
.text 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) .text 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o)
.bss 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) .bss 0x00000000 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o)
.text.libgcc.mul .text.libgcc.mul
@ -155,7 +161,7 @@ LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8
.rela.plt .rela.plt
*(.rela.plt) *(.rela.plt)
.text 0x00000000 0x372 .text 0x00000000 0x418
*(.vectors) *(.vectors)
.vectors 0x00000000 0x2a c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o .vectors 0x00000000 0x2a c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o
0x00000000 __vector_default 0x00000000 __vector_default
@ -234,26 +240,24 @@ LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8
*(.text.*) *(.text.*)
.text.ledg 0x00000048 0x60 Leuchtklotz.o .text.ledg 0x00000048 0x60 Leuchtklotz.o
0x00000048 ledg 0x00000048 ledg
.text.rgbl 0x000000a8 0x76 Leuchtklotz.o .text.fade 0x000000a8 0xbc Leuchtklotz.o
0x000000a8 rgbl 0x000000a8 fade
.text.fade 0x0000011e 0xbc Leuchtklotz.o
0x0000011e fade
.text.initleds .text.initleds
0x000001da 0xee Leuchtklotz.o 0x00000164 0xf8 Leuchtklotz.o
0x000001da initleds 0x00000164 initleds
.text.programColorFull
0x000002c8 0x84 Leuchtklotz.o
0x000002c8 programColorFull
.text.initschalter .text.initschalter
0x0000034c 0x16 Leuchtklotz.o 0x0000025c 0x16 Leuchtklotz.o
0x0000034c initschalter 0x0000025c initschalter
.text.main 0x00000362 0xc Leuchtklotz.o .text.programHacker
0x00000362 main 0x00000272 0x196 Leuchtklotz.o
0x0000036e . = ALIGN (0x2) 0x00000272 programHacker
.text.main 0x00000408 0xc Leuchtklotz.o
0x00000408 main
0x00000414 . = ALIGN (0x2)
*(.fini9) *(.fini9)
.fini9 0x0000036e 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) .fini9 0x00000414 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o)
0x0000036e _exit 0x00000414 _exit
0x0000036e exit 0x00000414 exit
*(.fini9) *(.fini9)
*(.fini8) *(.fini8)
*(.fini8) *(.fini8)
@ -272,11 +276,11 @@ LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8
*(.fini1) *(.fini1)
*(.fini1) *(.fini1)
*(.fini0) *(.fini0)
.fini0 0x0000036e 0x4 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o) .fini0 0x00000414 0x4 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/avr25/tiny-stack\libgcc.a(_exit.o)
*(.fini0) *(.fini0)
0x00000372 _etext = . 0x00000418 _etext = .
.data 0x00800060 0x0 load address 0x00000372 .data 0x00800060 0x0 load address 0x00000418
0x00800060 PROVIDE (__data_start, .) 0x00800060 PROVIDE (__data_start, .)
*(.data) *(.data)
.data 0x00800060 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o .data 0x00800060 0x0 c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8-gnu-toolchain/bin/../lib/gcc/avr/4.7.2/../../../../avr/lib/avr25/tiny-stack/crttn2313a.o
@ -291,25 +295,21 @@ LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8
0x00800060 _edata = . 0x00800060 _edata = .
0x00800060 PROVIDE (__data_end, .) 0x00800060 PROVIDE (__data_end, .)
.bss 0x00800060 0x3 .bss 0x00800060 0x0
0x00800060 PROVIDE (__bss_start, .) 0x00800060 PROVIDE (__bss_start, .)
*(.bss) *(.bss)
.bss 0x00800060 0x3 Leuchtklotz.o
0x00800060 rgb_g
0x00800061 rgb_b
0x00800062 rgb_r
*(.bss*) *(.bss*)
*(COMMON) *(COMMON)
0x00800063 PROVIDE (__bss_end, .) 0x00800060 PROVIDE (__bss_end, .)
0x00000372 __data_load_start = LOADADDR (.data) 0x00000418 __data_load_start = LOADADDR (.data)
0x00000372 __data_load_end = (__data_load_start + SIZEOF (.data)) 0x00000418 __data_load_end = (__data_load_start + SIZEOF (.data))
.noinit 0x00800063 0x0 .noinit 0x00800060 0x0
0x00800063 PROVIDE (__noinit_start, .) 0x00800060 PROVIDE (__noinit_start, .)
*(.noinit*) *(.noinit*)
0x00800063 PROVIDE (__noinit_end, .) 0x00800060 PROVIDE (__noinit_end, .)
0x00800063 _end = . 0x00800060 _end = .
0x00800063 PROVIDE (__heap_start, .) 0x00800060 PROVIDE (__heap_start, .)
.eeprom 0x00810000 0x0 .eeprom 0x00810000 0x0
*(.eeprom*) *(.eeprom*)
@ -367,39 +367,39 @@ LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8
.debug_sfnames .debug_sfnames
*(.debug_sfnames) *(.debug_sfnames)
.debug_aranges 0x00000000 0x68 .debug_aranges 0x00000000 0x78
*(.debug_aranges) *(.debug_aranges)
.debug_aranges .debug_aranges
0x00000000 0x68 Leuchtklotz.o 0x00000000 0x78 Leuchtklotz.o
.debug_pubnames .debug_pubnames
*(.debug_pubnames) *(.debug_pubnames)
.debug_info 0x00000000 0xf1a .debug_info 0x00000000 0x1935
*(.debug_info) *(.debug_info)
.debug_info 0x00000000 0xf1a Leuchtklotz.o .debug_info 0x00000000 0x1935 Leuchtklotz.o
*(.gnu.linkonce.wi.*) *(.gnu.linkonce.wi.*)
.debug_abbrev 0x00000000 0x1dd .debug_abbrev 0x00000000 0x20e
*(.debug_abbrev) *(.debug_abbrev)
.debug_abbrev 0x00000000 0x1dd Leuchtklotz.o .debug_abbrev 0x00000000 0x20e Leuchtklotz.o
.debug_line 0x00000000 0x3f8 .debug_line 0x00000000 0x59c
*(.debug_line) *(.debug_line)
.debug_line 0x00000000 0x3f8 Leuchtklotz.o .debug_line 0x00000000 0x59c Leuchtklotz.o
.debug_frame 0x00000000 0x158 .debug_frame 0x00000000 0x178
*(.debug_frame) *(.debug_frame)
.debug_frame 0x00000000 0x158 Leuchtklotz.o .debug_frame 0x00000000 0x178 Leuchtklotz.o
.debug_str 0x00000000 0x182 .debug_str 0x00000000 0x1a1
*(.debug_str) *(.debug_str)
.debug_str 0x00000000 0x182 Leuchtklotz.o .debug_str 0x00000000 0x1a1 Leuchtklotz.o
0x1b6 (size before relaxing) 0x1d5 (size before relaxing)
.debug_loc 0x00000000 0x5fd .debug_loc 0x00000000 0x643
*(.debug_loc) *(.debug_loc)
.debug_loc 0x00000000 0x5fd Leuchtklotz.o .debug_loc 0x00000000 0x643 Leuchtklotz.o
.debug_macinfo .debug_macinfo
*(.debug_macinfo) *(.debug_macinfo)
@ -407,9 +407,9 @@ LOAD c:/program files (x86)/atmel/atmel toolchain/avr8 gcc/native/3.4.2.876/avr8
.debug_pubtypes .debug_pubtypes
*(.debug_pubtypes) *(.debug_pubtypes)
.debug_ranges 0x00000000 0xb8 .debug_ranges 0x00000000 0x128
*(.debug_ranges) *(.debug_ranges)
.debug_ranges 0x00000000 0xb8 Leuchtklotz.o .debug_ranges 0x00000000 0x128 Leuchtklotz.o
.debug_macro .debug_macro
*(.debug_macro) *(.debug_macro)

View File

@ -2,57 +2,67 @@ S01300004C65756368746B6C6F747A2E7372656378
S113000014C021C020C01FC01EC01DC01CC01BC006 S113000014C021C020C01FC01EC01DC01CC01BC006
S11300101AC019C018C017C016C015C014C013C028 S11300101AC019C018C017C016C015C014C013C028
S113002012C011C010C00FC00EC011241FBECFEDEE S113002012C011C010C00FC00EC011241FBECFEDEE
S1130030CDBF20E0A0E6B0E001C01D92A336B20718 S1130030CDBF20E0A0E6B0E001C01D92A036B2071B
S1130040E1F78FD194C1DCCF6770772780FF06C0BA S1130040E1F7E2D1E7C1DCCF6770772780FF06C014
S113005098B3987F98BB98B3962B98BB81FF0DC03B S113005098B3987F98BB98B3962B98BB81FF0DC03B
S113006098B3977C98BB98B39B01220F331F220F40 S113006098B3977C98BB98B39B01220F331F220F40
S1130070331F220F331F292B28BB82FF06C092B3E4 S1130070331F220F331F292B28BB82FF06C092B3E4
S1130080987F92BB92B3962B92BB83FF0CC082B332 S1130080987F92BB92B3962B92BB83FF0CC082B332
S1130090877C82BB82B3660F771F660F771F660F5C S1130090877C82BB82B3660F771F660F771F660F5C
S11300A0771F682B62BB08956F927F928F929F9205 S11300A0771F682B62BB08952F923F924F925F9205
S11300B0AF92BF92CF92DF92EF92FF920F931F9372 S11300B06F927F928F929F92AF92BF92CF92DF9274
S11300C0CF93DF934C015B016A017901C0E0D0E07A S11300C0EF92FF920F931F93CF93DF938C014B0119
S11300D001E010E0612C712CC801CA15DB050CF09D S11300D06A013901E12CF12C312C212C2CC0C42DC6
S11300E0C301BC01CC15DD050CF46260CE15DF053F S11300E0D52DB401C801B0DF2196CF3FD105C9F7A2
S11300F00CF46460C401A8DF2196CF3FD10561F7F9 S11300F01E141F044CF4C32DD22DB601C801A4DF75
S1130100DF91CF911F910F91FF90EF90DF90CF90EF S11301002196CE15DF05C9F78FEFA81AB80AA614F1
S1130110BF90AF909F908F907F906F9008952F9293 S1130110B70429F409C0A12CB12C4E2C5F2C8FEF0D
S11301203F924F925F926F927F928F929F92AF9283 S1130120E816F104E4F2E4CF8FEFE81AF80A8FEF4F
S1130130BF92CF92DF92EF92FF920F931F93CF93D0 S1130130E816F10421F0161417046CF3F5CFDF91DF
S1130140DF938C014B016A013901E12CF12C312C34 S1130140CF911F910F91FF90EF90DF90CF90BF90D0
S1130150212C2CC0C42DD52DB401C80175DF2196E6 S1130150AF909F908F907F906F905F904F903F9063
S1130160CF3FD105C9F71E141F044CF4C32DD22D63 S11301602F90089566E070E085E090E06DDF2FE762
S1130170B601C80169DF2196CE15DF05C9F78FEFF7 S113017088E391E0215080409040E1F700C0000006
S1130180A81AB80AA614B70429F409C0A12CB12CE2 S113018060E070E085E090E05FDF2FE784E89EE1C7
S11301904E2C5F2C8FEFE816F104E4F2E4CF8FEFDE S1130190215080409040E1F700C0000066E070E02C
S11301A0E81AF80A8FEFE816F10421F01614170480 S11301A08FE090E051DF8FE493EC0197F1F700C00A
S11301B06CF3F5CFDF91CF911F910F91FF90EF90EA S11301B0000060E070E08FE090E046DF9FE72AE116
S11301C0DF90CF90BF90AF909F908F907F906F9073 S11301C086E0915020408040E1F700C0000066E0E6
S11301D05F904F903F902F90089566E070E085E027 S11301D070E08FE090E038DF9FE728E381E0915002
S11301E090E032DF2FE788E391E021508040904097 S11301E020408040E1F700C0000060E070E08FE054
S11301F0E1F700C0000060E070E085E090E024DFFB S11301F090E02ADF9FE72AE186E09150204080408A
S11302002FE784E89EE1215080409040E1F700C050 S1130200E1F700C0000066E070E08FE090E01CDFE2
S1130210000066E070E08FE090E016DF8FE493EC7E S11302109FEB24ED81E0915020408040E1F700C045
S11302200197F1F700C0000060E070E08FE090E01B S1130220000060E070E08FE090E00EDF9FEF28E0D8
S11302300BDF9FE72AE186E0915020408040E1F700 S11302308DE3915020408040E1F700C0000024E1AC
S113024000C0000066E070E08FE090E0FDDE9FE714 S113024030E047E050E066E070E08FE090E02CDFC3
S113025028E381E0915020408040E1F700C0000095 S113025060E070E08FE090E0F7DE089588B3806C92
S113026060E070E08FE090E0EFDE9FE72AE186E057 S113026088BB969A8FE493EC0197F1F700C00000E5
S1130270915020408040E1F700C0000066E070E04B S1130270089560E070E08FE090E0E6DE2FE78DE81F
S11302808FE090E0E1DE9FEB24ED81E0915020408F S11302809BE5215080409040E1F700C0000067E00A
S11302908040E1F700C0000060E070E08FE090E093 S113029070E08FE090E0D8DE2FEF8AE197EB2150F9
S11302A0D3DE9FEF28E08DE3915020408040E1F7BA S11302A080409040E1F700C0000014E1DAE063E030
S11302B000C0000024E130E047E050E066E070E078 S11302B070E08FE090E0C8DE2FEF8AE197EB2150E9
S11302C08FE090E02CDF089560E070E08FE090E034 S11302C080409040E1F700C000002FEF8AE197EBF7
S11302D0BBDEB7990EC0809162008F5F809362008D S11302D0215080409040E1F700C000002FEF8AE1F8
S11302E02FE78AE196E0215080409040E1F700C07A S11302E097EB215080409040E1F700C000002FEFD1
S11302F00000B6990EC0809160008F5F809360000B S11302F088E09DE3215080409040E1F700C0000079
S11303002FE78AE196E0215080409040E1F700C059 S1130300C12F60E070E08FE090E09EDE2FE38DE08F
S1130310000086990EC0809161008F5F8093610018 S113031093E0215080409040E1F700C0000063E08A
S11303202FE78AE196E0215080409040E1F700C039 S113032070E08FE090E090DE2FE38DE093E02150C9
S1130330000020916100409160006091620030E013 S113033080409040E1F700C00000C15011F762E036
S113034050E070E08FE090E0AFDEC3CF88B3806C04 S113034070E08FE090E080DE2FE786E998E92150A5
S113035088BB969A8FE493EC0197F1F700C00000F4 S113035080409040E1F700C0000063E070E08FE06F
S113036008958FE387BB81BBF1DF37DFADDFF894FE S113036090E072DE2FEF8AE197EB215080409040BD
S1050370FFCFB9 S1130370E1F700C000002FEF8AE197EB21508040A5
S11303809040E1F700C000002FEF8AE197EB215085
S113039080409040E1F700C000002FEF88E09DE32B
S11303A0215080409040E1F700C00000CD2F60E074
S11303B070E08FE090E048DE2FE38DE093E0215081
S11303C080409040E1F700C0000063E070E08FE0FF
S11303D090E03ADE2FE38DE093E02150804090409E
S11303E0E1F700C00000C15011F761E070E08FE058
S11303F090E02ADE2FE786E998E92150804090407A
S1130400E1F700C0000053CF8FE387BB81BB26DF39
S10B0410A9DE2FDFF894FFCFF1
S9030000FC S9030000FC

View File

@ -97,13 +97,13 @@ void initleds() {
ledg(LED1 | LED2 | LED3 | LED4, BLACK); ledg(LED1 | LED2 | LED3 | LED4, BLACK);
_delay_ms(1000); _delay_ms(1000);
fade(LED1 | LED2 | LED3 | LED4, CYAN, WHITE, 20); fade(LED1 | LED2 | LED3 | LED4, CYAN, WHITE, 20);
ledg(LED1 | LED2 | LED3 | LED4, BLACK);
} }
volatile uint8_t rgb_r = 0; volatile uint8_t rgb_r = 0;
volatile uint8_t rgb_b = 0; volatile uint8_t rgb_b = 0;
volatile uint8_t rgb_g = 0; volatile uint8_t rgb_g = 0;
void programColorFull() { void programColorFull() {
ledg(LED1 | LED2 | LED3 | LED4, BLACK);
while(1) { while(1) {
if(!(PINB & (1<<PINB7))) { if(!(PINB & (1<<PINB7))) {
rgb_r++; rgb_r++;
@ -129,16 +129,16 @@ void initschalter()
_delay_ms(10); _delay_ms(10);
} }
void programRainbow() void programRainbow(uint8_t t)
{ {
fade(LED1 | LED2 | LED3 | LED4, WHITE, RED, 10); fade(LED1 | LED2 | LED3 | LED4, WHITE, RED, 10);
while(1) { while(1) {
fade(LED1 | LED2 | LED3 | LED4, RED, YELLOW, 120); fade(LED1 | LED2 | LED3 | LED4, RED, YELLOW, t);
fade(LED1 | LED2 | LED3 | LED4, YELLOW, GREEN, 120); fade(LED1 | LED2 | LED3 | LED4, YELLOW, GREEN, t);
fade(LED1 | LED2 | LED3 | LED4, GREEN, CYAN, 120); fade(LED1 | LED2 | LED3 | LED4, GREEN, CYAN, t);
fade(LED1 | LED2 | LED3 | LED4, CYAN, BLUE, 120); fade(LED1 | LED2 | LED3 | LED4, CYAN, BLUE, t);
fade(LED1 | LED2 | LED3 | LED4, BLUE, MAGENTA, 120); fade(LED1 | LED2 | LED3 | LED4, BLUE, MAGENTA, t);
fade(LED1 | LED2 | LED3 | LED4, MAGENTA, RED, 120); fade(LED1 | LED2 | LED3 | LED4, MAGENTA, RED, t);
} }
} }
@ -213,6 +213,73 @@ void programCop()
} }
} }
} }
#define WAIT_WARN_BLINK 100
void programWarnBlink()
{
while(1) {
ledg(LED2 | LED4, YELLOW);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED2 | LED4, BLACK);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED2 | LED4, YELLOW);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED2 | LED4, BLACK);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED2 | LED4, YELLOW);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED2 | LED4, BLACK);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED3, RED);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED3, BLACK);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED3, RED);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED3, BLACK);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED3, RED);
_delay_ms(WAIT_WARN_BLINK);
ledg(LED3, BLACK);
_delay_ms(WAIT_WARN_BLINK);
}
}
void programHacker()
{
ledg(LED1 | LED2 | LED3 | LED4, BLACK);
_delay_ms(1500);
ledg(LED1 | LED2 | LED3 | LED4, WHITE);
_delay_ms(3000);
while(1) {
ledg(LED1 | LED2 | LED3 | LED4, YELLOW);
_delay_ms(3000);
_delay_ms(3000);
_delay_ms(3000);
_delay_ms(1000);
for(uint8_t i=0;i<20;i++) {
ledg(LED1 | LED2 | LED3 | LED4, BLACK);
_delay_ms(50);
ledg(LED1 | LED2 | LED3 | LED4, YELLOW);
_delay_ms(50);
}
ledg(LED1 | LED2 | LED3 | LED4, GREEN);
_delay_ms(2500);
ledg(LED1 | LED2 | LED3 | LED4, YELLOW);
_delay_ms(3000);
_delay_ms(3000);
_delay_ms(3000);
_delay_ms(1000);
for(uint8_t i=0;i<10;i++) {
ledg(LED1 | LED2 | LED3 | LED4, BLACK);
_delay_ms(50);
ledg(LED1 | LED2 | LED3 | LED4, YELLOW);
_delay_ms(50);
}
ledg(LED1 | LED2 | LED3 | LED4, RED);
_delay_ms(2500);
}
}
int main(void) int main(void)
{ {
@ -222,9 +289,11 @@ int main(void)
initleds(); initleds();
while(1) while(1)
{ {
programColorFull(); //programWarnBlink();
//programRainbow(); //programColorFull();
//programRainbow(50);
//programWarnYellow(); //programWarnYellow();
//programCop(); //programCop();
programHacker();
} }
} }

View File

@ -30,7 +30,7 @@
</ToolNumber> </ToolNumber>
<Channel> <Channel>
<host>127.0.0.1</host> <host>127.0.0.1</host>
<port>53066</port> <port>65413</port>
<ssl>False</ssl> <ssl>False</ssl>
</Channel> </Channel>
</com_atmel_avrdbg_tool_simulator> </com_atmel_avrdbg_tool_simulator>
@ -40,7 +40,7 @@
<ToolNumber>0000000000000</ToolNumber> <ToolNumber>0000000000000</ToolNumber>
<Channel> <Channel>
<host>127.0.0.1</host> <host>127.0.0.1</host>
<port>51623</port> <port>65413</port>
<ssl>False</ssl> <ssl>False</ssl>
</Channel> </Channel>
<ToolOptions> <ToolOptions>
@ -60,14 +60,14 @@
</com_atmel_avrdbg_tool_ispmk2> </com_atmel_avrdbg_tool_ispmk2>
<AsfFrameworkConfig> <AsfFrameworkConfig>
<framework-data> <framework-data>
<options /> <options />
<configurations /> <configurations />
<files /> <files />
<documentation help="" /> <documentation help="" />
<dependencies> <dependencies>
<content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.3.0" /> <content-extension eid="atmel.asf" uuidref="Atmel.ASF" version="3.3.0" />
</dependencies> </dependencies>
</framework-data> </framework-data>
</AsfFrameworkConfig> </AsfFrameworkConfig>
<CacheFlash>true</CacheFlash> <CacheFlash>true</CacheFlash>
<ProgFlashFromRam>true</ProgFlashFromRam> <ProgFlashFromRam>true</ProgFlashFromRam>
@ -76,45 +76,45 @@
<PropertyGroup Condition=" '$(Configuration)' == 'Release' "> <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<ToolchainSettings> <ToolchainSettings>
<AvrGcc xmlns=""> <AvrGcc xmlns="">
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex> <avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss> <avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep> <avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec> <avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned> <avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned> <avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
<avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level> <avrgcc.compiler.optimization.level>Optimize for size (-Os)</avrgcc.compiler.optimization.level>
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers> <avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum> <avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings> <avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
<avrgcc.linker.libraries.Libraries> <avrgcc.linker.libraries.Libraries>
<ListValues> <ListValues>
<Value>libm</Value> <Value>libm</Value>
</ListValues> </ListValues>
</avrgcc.linker.libraries.Libraries> </avrgcc.linker.libraries.Libraries>
</AvrGcc> </AvrGcc>
</ToolchainSettings> </ToolchainSettings>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' "> <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<ToolchainSettings> <ToolchainSettings>
<AvrGcc xmlns=""> <AvrGcc xmlns="">
<avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex> <avrgcc.common.outputfiles.hex>True</avrgcc.common.outputfiles.hex>
<avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss> <avrgcc.common.outputfiles.lss>True</avrgcc.common.outputfiles.lss>
<avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep> <avrgcc.common.outputfiles.eep>True</avrgcc.common.outputfiles.eep>
<avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec> <avrgcc.common.outputfiles.srec>True</avrgcc.common.outputfiles.srec>
<avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned> <avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>True</avrgcc.compiler.general.ChangeDefaultCharTypeUnsigned>
<avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned> <avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>True</avrgcc.compiler.general.ChangeDefaultBitFieldUnsigned>
<avrgcc.compiler.optimization.level>Optimize (-O1)</avrgcc.compiler.optimization.level> <avrgcc.compiler.optimization.level>Optimize (-O1)</avrgcc.compiler.optimization.level>
<avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers> <avrgcc.compiler.optimization.PackStructureMembers>True</avrgcc.compiler.optimization.PackStructureMembers>
<avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum> <avrgcc.compiler.optimization.AllocateBytesNeededForEnum>True</avrgcc.compiler.optimization.AllocateBytesNeededForEnum>
<avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel> <avrgcc.compiler.optimization.DebugLevel>Default (-g2)</avrgcc.compiler.optimization.DebugLevel>
<avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings> <avrgcc.compiler.warnings.AllWarnings>True</avrgcc.compiler.warnings.AllWarnings>
<avrgcc.linker.libraries.Libraries> <avrgcc.linker.libraries.Libraries>
<ListValues> <ListValues>
<Value>libm</Value> <Value>libm</Value>
</ListValues> </ListValues>
</avrgcc.linker.libraries.Libraries> </avrgcc.linker.libraries.Libraries>
<avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel> <avrgcc.assembler.debugging.DebugLevel>Default (-Wa,-g)</avrgcc.assembler.debugging.DebugLevel>
</AvrGcc> </AvrGcc>
</ToolchainSettings> </ToolchainSettings>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>