Commit bac8b2b6 authored by frodevan's avatar frodevan

Taktlause added

parent b05c4866
......@@ -82,7 +82,7 @@ ALL_CFLAGS = -mmcu=$(MCU) -I. $(CFLAGS)
ALL_ASFLAGS = -mmcu=$(MCU) -I. -x assembler-with-cpp $(ASFLAGS)
# Default targets.
all: omega hart emil nabla kth timini
all: omega hart emil nabla kth timini taktlause
default: begin gccversion sizebefore $(TARGET).elf $(TARGET).hex $(TARGET).eep \
......@@ -117,6 +117,11 @@ timini:
python2 animgen2.py timini > imp_autogen.h
make default
mv ${TARGET}.hex hex/imponator_timini.hex
taktlause:
python2 animgen2.py taktlause > imp_autogen.h
make default
mv ${TARGET}.hex hex/imponator_taktlause.hex
# Eye candy.
# AVR Studio 3.x does not check make's exit code but relies on
......@@ -267,5 +272,5 @@ clean_list :
-include $(SRC:.c=.d)
# Listing of phony targets.
.PHONY : all default omega emil nabla kth begin finish end sizebefore sizeafter\
.PHONY : all default omega emil nabla kth taktlause begin finish end sizebefore sizeafter\
gccversion coff extcoff clean clean_list program
......@@ -6,7 +6,7 @@ import sys
## PATH RELATED ##################################################################
PATHS = {}
IMPONATORS = ("omega","nabla","kth","emil","hart","timini")
IMPONATORS = ("omega","nabla","kth","emil","hart","timini", "taktlause")
def define_paths(imponator):
p = {} # p is short for paths
......@@ -15,6 +15,18 @@ def define_paths(imponator):
p['map_grd0'] = [0x0, 0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7]
p['map_grd1'] = [0xF, 0xE, 0xD, 0xC, 0xB, 0xA, 0x9, 0x8]
# Definittion of paths:
p['full'] = [0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,
0xe,0xf]
p['circ'] = p['full']
p['circ2_enter'] = p['full'][:0x2]
p['circ2'] = p['full'][0x3:0xc]
p['circ2_exit'] = p['full'][0xc:]
if imponator in ('taktlause'):
# Remap lists:
p['map_grd0'] = [0x4, 0x5, 0x6, 0x7, 0x0, 0x1, 0x2, 0x3]
p['map_grd1'] = [0xC, 0xD, 0xE, 0xF, 0x8, 0x9, 0xA, 0xB]
# Definittion of paths:
p['full'] = [0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xa,0xb,0xc,0xd,
0xe,0xf]
......@@ -235,6 +247,109 @@ def anim_omega():
anim_default()
p = PATHS
pass
def anim_taktlause():
anim_default() #YOLO Hardkoding
p = PATHS
print '#define FADE_IN_Y \\'
print '{{0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x30, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x50, 0x50, 0x50, 0x50, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x70, 0x70, 0x70, 0x70, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x90, 0x90, 0x90, 0x90, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0xb0, 0xb0, 0xb0, 0xb0, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0xd0, 0xd0, 0xd0, 0xd0, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0xf0, 0xf0, 0xf0, 0xf0, 0x00, 0x00, 0x00, 0x00}, 0x00}'
print ''
print '#define FADE_OUT_Y \\'
print '{{0xf0, 0xf0, 0xf0, 0xf0, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0xd0, 0xd0, 0xd0, 0xd0, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0xb0, 0xb0, 0xb0, 0xb0, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x90, 0x90, 0x90, 0x90, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x70, 0x70, 0x70, 0x70, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x50, 0x50, 0x50, 0x50, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x30, 0x30, 0x30, 0x30, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x10, 0x10, 0x10, 0x10, 0x00, 0x00, 0x00, 0x00}, 0x00}'
print ''
print '#define FADE_IN_G \\'
print '{{0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x05, 0x05, 0x05, 0x05, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x07, 0x07, 0x07, 0x07, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x09, 0x09, 0x09, 0x09, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x0b, 0x0b, 0x0b, 0x0b, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x0d, 0x0d, 0x0d, 0x0d, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x0f, 0x0f, 0x0f, 0x0f, 0x00, 0x00, 0x00, 0x00}, 0x00}'
print ''
print '#define FADE_OUT_G \\'
print '{{0x0f, 0x0f, 0x0f, 0x0f, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x0d, 0x0d, 0x0d, 0x0d, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x0b, 0x0b, 0x0b, 0x0b, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x09, 0x09, 0x09, 0x09, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x07, 0x07, 0x07, 0x07, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x05, 0x05, 0x05, 0x05, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x03, 0x03, 0x03, 0x03, 0x00, 0x00, 0x00, 0x00}, 0x00}, \\'
print '{{0x01, 0x01, 0x01, 0x01, 0x00, 0x00, 0x00, 0x00}, 0x00}'
print ''
print '#define FADE_IN_R \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x30, 0x30}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x50, 0x50, 0x50, 0x50}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x70, 0x70, 0x70, 0x70}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x90, 0x90, 0x90, 0x90}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0xb0, 0xb0, 0xb0, 0xb0}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0xd0, 0xd0, 0xd0, 0xd0}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0xf0, 0xf0, 0xf0, 0xf0}, 0x00}'
print ''
print '#define FADE_OUT_R \\'
print '{{0x00, 0x00, 0x00, 0x00, 0xf0, 0xf0, 0xf0, 0xf0}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0xd0, 0xd0, 0xd0, 0xd0}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0xb0, 0xb0, 0xb0, 0xb0}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x90, 0x90, 0x90, 0x90}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x70, 0x70, 0x70, 0x70}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x50, 0x50, 0x50, 0x50}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x30, 0x30, 0x30, 0x30}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x10, 0x10, 0x10, 0x10}, 0x00}'
print ''
print '#define FADE_IN_B \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x05, 0x05, 0x05, 0x05}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x09, 0x09, 0x09, 0x09}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x0b, 0x0b, 0x0b, 0x0b}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x0d, 0x0d, 0x0d, 0x0d}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x0f, 0x0f, 0x0f, 0x0f}, 0x00}'
print ''
print '#define FADE_OUT_B \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x0f, 0x0f, 0x0f, 0x0f}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x0d, 0x0d, 0x0d, 0x0d}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x0b, 0x0b, 0x0b, 0x0b}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x09, 0x09, 0x09, 0x09}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x07, 0x07, 0x07, 0x07}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x05, 0x05, 0x05, 0x05}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x03, 0x03, 0x03, 0x03}, 0x00}, \\'
print '{{0x00, 0x00, 0x00, 0x00, 0x01, 0x01, 0x01, 0x01}, 0x00}'
print ''
print '#define BILLBOARD \\'
print '{{0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00}, 0x03}, \\'
print '{{0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff}, 0x03}, \\'
print '{{0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00}, 0x03}, \\'
print '{{0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff}, 0x03}, \\'
print '{{0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00}, 0x03}, \\'
print '{{0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff}, 0x03}, \\'
print '{{0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00}, 0x03}, \\'
print '{{0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff}, 0x03}, \\'
print '{{0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00}, 0x03}, \\'
print '{{0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff}, 0x03}, \\'
print '{{0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00}, 0x03}, \\'
print '{{0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff}, 0x03}, \\'
print '{{0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00}, 0x03}, \\'
print '{{0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff}, 0x03}, \\'
print '{{0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00}, 0x03}, \\'
print '{{0x00, 0xff, 0x00, 0xff, 0x00, 0xff, 0x00, 0xff}, 0x03}'
print ''
pass
def anim_hart():
anim_default()
......@@ -366,7 +481,7 @@ def anim_kth():
def main():
if len(sys.argv) != 2 or sys.argv[1].lower() not in IMPONATORS:
print >> sys.stderr, "Usage: python animgen2.py omega|hart|nabla|kth|emil|timini"
print >> sys.stderr, "Usage: python animgen2.py omega|hart|nabla|kth|emil|timini|taktlause"
exit(1)
imponator = sys.argv[1].lower()
......@@ -380,6 +495,8 @@ def main():
if imponator == 'omega':
anim_omega()
if imponator == 'taktlause':
anim_taktlause()
if imponator == 'hart':
anim_hart()
if imponator == 'nabla':
......
:100000000C94E1030C94FE030C94FE030C94FE0389
:100010000C94FE030C94FE030C94FE030C94FE035C
:100020000C94FE030C942A040C94FE030C94FE031F
:100030000C94FE030C945B040C94FE030C94FE03DE
:100040000C9400040C94FE030C94FE030C94FE0329
:100050000C94FE030C94FE030C94FE030C94FE031C
:100060000C94FE030C94FE0300000000F00000005E
:10007000000000000000F000000000000000000090
:10008000F0000000000000000000F000F0000000A0
:10009000000000000000F000000000000000000070
:1000A000F0000000000000000000F0000000000070
:1000B000000000000F0000000000000000000F0022
:1000C00000000000000000000F0000000000000021
:1000D00000000F000F0000000000000000000F00F3
:1000E00000000000000000000F0000000000000001
:1000F00000000F00000000000000000000000000F1
:10010000000000000000000000000000000F0000E0
:1001100000000000000F000000000000000F0000C1
:1001200000000000000F00000000000000000000C0
:1001300000000000000F000000000000000F0000A1
:1001400000000000000F000000000000000F000091
:100150000000000000F000000000000000F00000BF
:100160000000000000F000000000000000F00000AF
:1001700000000000000000000000000000F000008F
:100180000000000000F000000000000000F000008F
:100190000000000000F0000000000000000000006F
:1001A000000000000000000000000000000000004F
:1001B000F00000000000000000C0F000000000009F
:1001C000000090C0F00000000000006090C0F0004F
:1001D000F0000000306090C000C0F000000030600F
:1001E000900090C0F00000003060006090C0F0000F
:1001F00000003000306090C00F0000000000306050
:10020000900C0F00000000003060090C0F0000008F
:1002100000003006090C0F000F0000000306090C57
:10022000000C0F00000003060900090C0F0000007D
:1002300003060006090C0F00000003000306090C6A
:10024000000000000000030609000000000000009C
:100250000306000000000000000003000000000092
:10026000000000000000000000000000000000008E
:1002700000000000000F000000000000000F0C0054
:1002800000000000000F0C0900000000000F0C0926
:100290000600000000000C0906030000000F000922
:1002A00006030000000F0C0006030000000F0C09FD
:1002B00000030000000F0C090600000000F00C090C
:1002C0000603000000F0C0090603000000F0C09023
:1002D0000603000000F0C090600300000000C09022
:1002E0006030000000F000906030000000F0C000BE
:1002F0006030000000F0C0900030000000F0C090BE
:10030000600000000000C09060300000000000901D
:1003100060300000000000006030000000000000BD
:10032000003000000000000000000000000000009D
:100330000000000000000000FFFFFFFFFFFFFFFFC5
:1003400000FFFFFFFFFFFFFFFF00777777777777EB
:1003500077770077777777777777770000000000F7
:10036000000000000000000000000000000011116B
:10037000111111111111001111111111111111008F
:10038000FFFFFFFFFFFFFFFF00FFFFFFFFFFFFFF7C
:10039000FF00777777777777777700777777777753
:1003A00077777700000000000000000000000000E8
:1003B00000000000000011111111111111110011A4
:1003C000111111111111110011111111111111112E
:1003D0000033333333333333330055555555555587
:1003E0005555007777777777777777009999999947
:1003F0009999999900BBBBBBBBBBBBBBBB00DDDD07
:10040000DDDDDDDDDDDD00FFFFFFFFFFFFFFFF00C6
:10041000FFFFFFFFFFFFFFFF00DDDDDDDDDDDDDDD9
:10042000DD00BBBBBBBBBBBBBBBB0099999999991A
:10043000999999007777777777777777005555553A
:10044000555555555500333333333333333300115A
:1004500011111111111111000000000010101010E5
:10046000000000000030303030000000000050502C
:10047000505000000000007070707000000000001C
:10048000909090900000000000B0B0B0B00000006C
:100490000000D0D0D0D00000000000F0F0F0F0005C
:1004A00000000000F0F0F0F00000000000D0D0D01C
:1004B000D00000000000B0B0B0B00000000000901C
:1004C00090909000000000007070707000000000BC
:1004D000005050505000000000003030303000001C
:1004E000000000101010100010101010000000008C
:1004F00000303030300000000000505050500000FC
:1005000000000070707070000000000090909090EB
:100510000000000000B0B0B0B00000000000D0D07B
:10052000D0D00000000000F0F0F0F000000000006B
:10053000F0F0F0F00000000000D0D0D0D0000000BB
:100540000000B0B0B0B000000000009090909000AB
:1005500000000000707070700000000000505050EB
:10056000500000000000303030300000000000106B
:100570001010100000000000000000000101010147
:100580000000000000030303030000000000050555
:100590000505000000000007070707000000000035
:1005A0000909090900000000000B0B0B0B000000FB
:1005B00000000D0D0D0D00000000000F0F0F0F00CB
:1005C000000000000F0F0F0F00000000000D0D0DC8
:1005D0000D00000000000B0B0B0B000000000009D9
:1005E00009090900000000000707070700000000D4
:1005F00000050505050000000000030303030000DB
:1006000000000001010101000101010100000000E2
:1006100000030303030000000000050505050000BA
:10062000000000070707070000000000090909098A
:1006300000000000000B0B0B0B00000000000D0D74
:100640000D0D00000000000F0F0F0F000000000054
:100650000F0F0F0F00000000000D0D0D0D0000002A
:1006600000000B0B0B0B000000000009090909003A
:10067000000000000707070700000000000505054F
:100680000500000000000303030300000000000158
:1006900001010100000000001111111111111111CF
:1006A00000333333333333333300555555555555B4
:1006B0005555007777777777777777009999999974
:1006C0009999999900BBBBBBBBBBBBBBBB00DDDD34
:1006D000DDDDDDDDDDDD00FFFFFFFFFFFFFFFF00F4
:1006E000FFFFFFFFFFFFFFFF00DDDDDDDDDDDDDD07
:1006F000DD00BBBBBBBBBBBBBBBB00999999999948
:100700009999990077777777777777770055555567
:100710005555555555003333333333333333001187
:100720001111111111111100FF00FF00FF00FF0056
:100730000300FF00FF00FF00FF03FF00FF00FF00BA
:10074000FF000300FF00FF00FF00FF03FF00FF00AA
:10075000FF00FF000300FF00FF00FF00FF03FF009A
:10076000FF00FF00FF000300FF00FF00FF00FF038A
:10077000FF00FF00FF00FF000300FF00FF00FF007D
:10078000FF03FF00FF00FF00FF000300FF00FF006A
:10079000FF00FF03FF00FF00FF00FF000300FF005A
:1007A000FF00FF00FF03FF00FF00FF00FF0003004A
:1007B000FF00FF00FF00FF0300000000000000003A
:1007C000800011241FBECFEFD4E0DEBFCDBF11E00B
:1007D000A0E0B1E0E4EBFAE002C005900D92A23097
:1007E000B107D9F721E0A2E0B1E001C01D92A83223
:1007F000B207E1F70E94C6040C9458050C9400005F
:100800001F920F920FB60F9211248F939F938FE731
:1008100086BD80910301909104010296909304019A
:1008200080930301809126018F5F80932601809140
:100830002601803141F486E091E090930401809399
:100840000301109226019F918F910F900FBE0F9080
:100850001F9018951F920F920FB60F9211248F932D
:100860009F93EF93FF9315B880910501882371F052
:100870008130C1F484E088B9E0910301F091040172
:100880008081918185B9109205010CC088E088B9FA
:10089000E0910301F09104018081918195B981E09B
:1008A00080930501FF91EF919F918F910F900FBE63
:1008B0000F901F9018951F920F920FB60F92112450
:1008C0002F933F934F935F936F937F938F939F9358
:1008D000AF93BF93EF93FF9380E090E790938500F1
:1008E000809384008091020191E0980F909302011F
:1008F00090910001891770F086E091E090930401D7
:10090000809303010E94D7040E943E05809300015A
:1009100010920201FF91EF91BF91AF919F918F9142
:100920007F916F915F914F913F912F910F900FBEEB
:100930000F901F901895F8948FEF87B984B9EEE661
:10094000F0E0808181608083EFE6F0E0808181606B
:10095000808380E090E79093850080938400E0E7B7
:10096000F0E080818160808381E085BB86BB87BBAE
:1009700085B5826085BDE1E8F0E08081826080839A
:10098000E1EBF0E080818260808308950E949B0407
:100990001092260181E08093050186E091E090931A
:1009A0000401809303010E94D7047894FFCFEF9253
:1009B000FF921F93CF93DF93AC01FC0180961182CD
:1009C00010823296E817F907D1F760E070E0C1E0D5
:1009D000D0E010E08091270190E0FC01EE0FFF1FB6
:1009E000EE0FFF1FEE0FFF1FE80FF91FE859FF4F33
:1009F000E60FF71FE4918E2F8F70E295EF70C1F034
:100A00007E01062E02C0EE0CFF1C0A94E2F7912F25
:100A1000A92FAA0FBB0BA40FB51F2D913C911197C5
:100A20002E293F2911963C932E939F5FE913F0CF17
:100A30008823C1F09B01285F3F4FDE0102C0AA0F4F
:100A4000BB1F2A95E2F7912FE92FEE0FFF0BE40F62
:100A5000F51F208131812A2B3B2B318320839F5F1F
:100A60009813F2CF6F5F7F4F6830710509F0B2CFF6
:100A7000DF91CF911F91FF90EF9008958091270112
:100A80008F5F80932701E0912701F0E0CF01880F6D
:100A9000991F880F991F880F991FE80FF91FE059B8
:100AA000FF4F8491882314F4109227018F770895C3
:040AB000F894FFCFE8
:020AB40001003F
:00000001FF
......@@ -43,6 +43,27 @@ const PROGMEM Frame animation[] = {
FADE_IN,
FADE_OUT,
#endif
#ifdef _IMPONATOR_TAKTLAUSE
SHIFT_ONE_CW,
SHIFT_ONE_CCW,
WORM_CW,
WORM_CCW,
FLASH,
FLASH,
FADE_IN,
FADE_OUT,
FADE_IN_R,
FADE_OUT_R,
FADE_IN_Y,
FADE_OUT_Y,
FADE_IN_B,
FADE_OUT_B,
FADE_IN_G,
FADE_OUT_G,
FADE_IN,
FADE_OUT,
BILLBOARD,
#endif
#ifdef _IMPONATOR_HART
SHIFT_ONE_CW,
SHIFT_ONE_CW,
......
This diff is collapsed.
#!/bin/bash
#
[[ "$1" == "" ]] && echo "Usage: $0 omega|hart|emil|nabla|kth" && exit 1
[[ "$1" == "" ]] && echo "Usage: $0 omega|hart|emil|nabla|kth|taktlause" && exit 1
avrdude -P /dev/ttyUSB0 -c stk500v2 -pm168 -U flash:w:imponator_$1.hex
#avrdude -c stk500v2 -pm168 -U flash:w:imponator_$1.hex
#avrdude -P usb -c avrispmkII -p m168 -U flash:w:imponator_$1.hex
......
@echo off
IF [%1]==[] goto quit
echo Press Ctrl-C to exit
:start
echo *Writing fuses...*
atprogram -t stk600 -i isp -d atmega168pa -cl 250khz write -fs --values E2DDF8
echo *Programming flash...*
atprogram -t stk600 -i isp -d atmega168pa -cl 1mhz program -fl -f %1 --verify
pause
goto start
:quit
echo "Error: file argument missing (ex: imponator_omega.hex)"
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment