ampel
This commit is contained in:
parent
2bf7b300f9
commit
719f0bfae2
Binary file not shown.
|
@ -5,6 +5,210 @@
|
||||||
:100040000C943E000C943E000C943E000C943E0038
|
:100040000C943E000C943E000C943E000C943E0038
|
||||||
:100050000C943E000C943E000C943E000C943E0028
|
:100050000C943E000C943E000C943E000C943E0028
|
||||||
:100060000C943E000C943E0011241FBECFEFD8E04C
|
:100060000C943E000C943E0011241FBECFEFD8E04C
|
||||||
:10007000DEBFCDBF0E9440000C9445000C940000F0
|
:10007000DEBFCDBF0E9440000C94A1060C9400008E
|
||||||
:0E008000CF93DF93CDB7DEB7FFCFF894FFCF5D
|
:100080000F931F93CF93DF93CDB7DEB7C057D1093E
|
||||||
|
:100090000FB6F894DEBF0FBECDBF84E290E02FEF25
|
||||||
|
:1000A000FC01208385E290E0FC01208185E290E064
|
||||||
|
:1000B0002062FC0120839E012D593F4F80E090E09B
|
||||||
|
:1000C000AAEFB3E4F90180839183A283B3838E0105
|
||||||
|
:1000D00009591F4FCE018D599F4F20E030E04AE76C
|
||||||
|
:1000E00055E4FC0160817181828193810E940C063C
|
||||||
|
:1000F000DC01CB01F80180839183A283B383CE011D
|
||||||
|
:1001000089599F4F20E030E040E85FE3FC016081C7
|
||||||
|
:100110007181828193810E94860581154CF4CE0104
|
||||||
|
:1001200085599F4F21E030E0FC01318320836EC070
|
||||||
|
:10013000CE0189599F4F20E03FEF4FE757E4FC0184
|
||||||
|
:1001400060817181828193810E94070681300CF465
|
||||||
|
:100150004BC0CE018D599F4F20E030E040E251E48A
|
||||||
|
:10016000FC0160817181828193810E940C06DC0117
|
||||||
|
:10017000CB018E0105591F4FBC01CD010E948B059B
|
||||||
|
:10018000DC01CB01F8019183808325C0CE01835926
|
||||||
|
:100190009F4F20E931E0FC0131832083CE01835958
|
||||||
|
:1001A0009F4FFC01808191810197F1F79E012359B6
|
||||||
|
:1001B0003F4FF901918380830000CE0185599F4F05
|
||||||
|
:1001C0009E0125593F4FF90120813181215031098C
|
||||||
|
:1001D000FC0131832083CE0185599F4FFC01808132
|
||||||
|
:1001E0009181009799F62DC08E0105591F4FCE01C0
|
||||||
|
:1001F00089599F4FFC0160817181828193810E94A6
|
||||||
|
:100200008B05DC01CB01F80191838083CE018159FC
|
||||||
|
:100210009F4F9E0125593F4FF90120813181FC01FB
|
||||||
|
:1002200031832083CE0181599F4FFC0180819181D0
|
||||||
|
:100230000197F1F79E0121593F4FF9019183808386
|
||||||
|
:10024000000085E290E0FC01208185E290E02F7DB6
|
||||||
|
:10025000FC0120839E012B5A3F4F80E090E0AAEFE3
|
||||||
|
:10026000B3E4F90180839183A283B3838E01075A9B
|
||||||
|
:100270001F4FCE018B5A9F4F20E030E04AE755E4F4
|
||||||
|
:10028000FC0160817181828193810E940C06DC01F6
|
||||||
|
:10029000CB01F80180839183A283B383CE01875A77
|
||||||
|
:1002A0009F4F20E030E040E85FE3FC016081718116
|
||||||
|
:1002B000828193810E94860581154CF4CE01835A78
|
||||||
|
:1002C0009F4F21E030E0FC01318320836EC0CE01DE
|
||||||
|
:1002D000875A9F4F20E03FEF4FE757E4FC016081D2
|
||||||
|
:1002E0007181828193810E94070681300CF44BC09A
|
||||||
|
:1002F000CE018B5A9F4F20E030E040E251E4FC01F8
|
||||||
|
:1003000060817181828193810E940C06DC01CB01A6
|
||||||
|
:100310008E01035A1F4FBC01CD010E948B05DC01E9
|
||||||
|
:10032000CB01F8019183808325C0CE01815A9F4F74
|
||||||
|
:1003300020E931E0FC0131832083CE01815A9F4FB7
|
||||||
|
:10034000FC01808191810197F1F79E01215A3F4F75
|
||||||
|
:10035000F901918380830000CE01835A9F4F9E0153
|
||||||
|
:10036000235A3F4FF9012081318121503109FC018D
|
||||||
|
:1003700031832083CE01835A9F4FFC01808191817C
|
||||||
|
:10038000009799F62DC08E01035A1F4FCE01875A50
|
||||||
|
:100390009F4FFC0160817181828193810E948B0556
|
||||||
|
:1003A000DC01CB01F80191838083CE018F599F4FEF
|
||||||
|
:1003B0009E01235A3F4FF90120813181FC01318395
|
||||||
|
:1003C0002083CE018F599F4FFC018081918101973D
|
||||||
|
:1003D000F1F79E012F593F4FF9019183808300006F
|
||||||
|
:1003E00085E290E0FC01208185E290E02061FC0143
|
||||||
|
:1003F00020839E01295B3F4F80E090E0AAEFB3E4A9
|
||||||
|
:10040000F90180839183A283B3838E01055B1F4F23
|
||||||
|
:10041000CE01895B9F4F20E030E04AE755E4FC01C4
|
||||||
|
:1004200060817181828193810E940C06DC01CB0185
|
||||||
|
:10043000F80180839183A283B383CE01855B9F4FB4
|
||||||
|
:1004400020E030E040E85FE3FC016081718182815F
|
||||||
|
:1004500093810E94860581154CF4CE01815B9F4FEC
|
||||||
|
:1004600021E030E0FC01318320836EC0CE01855B4A
|
||||||
|
:100470009F4F20E03FEF4FE757E4FC01608171811F
|
||||||
|
:10048000828193810E94070681300CF44BC0CE011B
|
||||||
|
:10049000895B9F4F20E030E040E251E4FC01608145
|
||||||
|
:1004A0007181828193810E940C06DC01CB018E0157
|
||||||
|
:1004B000015B1F4FBC01CD010E948B05DC01CB010C
|
||||||
|
:1004C000F8019183808325C0CE018F5A9F4F20E988
|
||||||
|
:1004D00031E0FC0131832083CE018F5A9F4FFC0114
|
||||||
|
:1004E000808191810197F1F79E012F5A3F4FF901C9
|
||||||
|
:1004F000918380830000CE01815B9F4F9E01215B31
|
||||||
|
:100500003F4FF9012081318121503109FC013183B4
|
||||||
|
:100510002083CE01815B9F4FFC01808191810097F8
|
||||||
|
:1005200099F62DC08E01015B1F4FCE01855B9F4F59
|
||||||
|
:10053000FC0160817181828193810E948B05DC01C5
|
||||||
|
:10054000CB01F80191838083CE018D5A9F4F9E018C
|
||||||
|
:10055000215B3F4FF90120813181FC0131832083F0
|
||||||
|
:10056000CE018D5A9F4FFC01808191810197F1F757
|
||||||
|
:100570009E012D5A3F4FF90191838083000085E24F
|
||||||
|
:1005800090E0FC01208185E290E02F7EFC01208339
|
||||||
|
:1005900080E090E0AAEFB3E489AF9AAFABAFBCAF15
|
||||||
|
:1005A00020E030E04AE755E469AD7AAD8BAD9CAD13
|
||||||
|
:1005B0000E940C06DC01CB019E01235C3F4FF90138
|
||||||
|
:1005C00080839183A283B38320E030E040E85FE33F
|
||||||
|
:1005D000CE01CD96FC0160817181828193810E9460
|
||||||
|
:1005E000860581154CF4CE018F5B9F4F21E030E0F2
|
||||||
|
:1005F000FC013183208368C020E03FEF4FE757E4E0
|
||||||
|
:10060000CE01CD96FC0160817181828193810E942F
|
||||||
|
:10061000070681300CF447C020E030E040E251E4AE
|
||||||
|
:1006200069AD7AAD8BAD9CAD0E940C06DC01CB01AF
|
||||||
|
:100630008E010F5B1F4FBC01CD010E948B05DC01B9
|
||||||
|
:10064000CB01F8019183808325C0CE018D5B9F4F44
|
||||||
|
:1006500020E931E0FC0131832083CE018D5B9F4F87
|
||||||
|
:10066000FC01808191810197F1F79E012D5B3F4F45
|
||||||
|
:10067000F901918380830000CE018F5B9F4F9E0123
|
||||||
|
:100680002F5B3F4FF9012081318121503109FC015D
|
||||||
|
:1006900031832083CE018F5B9F4FFC01808191814C
|
||||||
|
:1006A000009799F62CC08E010F5B1F4FCE01CD969F
|
||||||
|
:1006B000FC0160817181828193810E948B05DC0144
|
||||||
|
:1006C000CB01F80191838083CE018B5B9F4F9E010C
|
||||||
|
:1006D0002F5B3F4FF90120813181FC013183208361
|
||||||
|
:1006E000CE018B5B9F4FFC01808191810197F1F7D7
|
||||||
|
:1006F0009E012B5B3F4FF90191838083000085E2CF
|
||||||
|
:1007000090E0FC01208185E290E02860FC012083DC
|
||||||
|
:1007100080E090E0AAEFB3E48BA79CA7ADA7BEA7AB
|
||||||
|
:1007200020E030E04AE755E46BA57CA58DA59EA5A9
|
||||||
|
:100730000E940C06DC01CB018FA798ABA9ABBAAB2A
|
||||||
|
:1007400020E030E040E85FE36FA578A989A99AA985
|
||||||
|
:100750000E94860581152CF481E090E09CAB8BAB68
|
||||||
|
:1007600040C020E03FEF4FE757E46FA578A989A983
|
||||||
|
:100770009AA90E940706813054F120E030E040E25F
|
||||||
|
:1007800051E46BA57CA58DA59EA50E940C06DC01FD
|
||||||
|
:10079000CB01BC01CD010E948B05DC01CB019CABE0
|
||||||
|
:1007A0008BAB10C080E991E09EAB8DAB8DA99EA96B
|
||||||
|
:1007B0000197F1F79EAB8DAB00008BA99CA9019727
|
||||||
|
:1007C0009CAB8BAB8BA99CA9009761F715C06FA55B
|
||||||
|
:1007D00078A989A99AA90E948B05DC01CB019CAB61
|
||||||
|
:1007E0008BAB8BA99CA998AF8FAB8FA998AD0197C4
|
||||||
|
:1007F000F1F798AF8FAB000085E290E0FC0120811B
|
||||||
|
:1008000085E290E0277FFC01208380E090E0AAEF62
|
||||||
|
:10081000B3E48D8F9E8FAF8FB8A320E030E04AE71E
|
||||||
|
:1008200055E46D8D7E8D8F8D98A10E940C06DC01A4
|
||||||
|
:10083000CB0189A39AA3ABA3BCA320E030E040E89E
|
||||||
|
:100840005FE369A17AA18BA19CA10E948605811515
|
||||||
|
:100850002CF481E090E09EA38DA340C020E03FEF08
|
||||||
|
:100860004FE757E469A17AA18BA19CA10E940706DA
|
||||||
|
:10087000813054F120E030E040E251E46D8D7E8D16
|
||||||
|
:100880008F8D98A10E940C06DC01CB01BC01CD012B
|
||||||
|
:100890000E948B05DC01CB019EA38DA310C080E9D3
|
||||||
|
:1008A00091E098A78FA38FA198A50197F1F798A73A
|
||||||
|
:1008B0008FA300008DA19EA101979EA38DA38DA162
|
||||||
|
:1008C0009EA1009761F715C069A17AA18BA19CA197
|
||||||
|
:1008D0000E948B05DC01CB019EA38DA38DA19EA15F
|
||||||
|
:1008E0009AA789A789A59AA50197F1F79AA789A739
|
||||||
|
:1008F000000085E290E0FC01208185E290E0286024
|
||||||
|
:10090000FC01208385E290E0FC01208185E290E0FB
|
||||||
|
:100910002061FC01208380E090E0AAEFB3E48F87A0
|
||||||
|
:10092000988BA98BBA8B20E030E04AE755E46F85BD
|
||||||
|
:10093000788989899A890E940C06DC01CB018B8B0E
|
||||||
|
:100940009C8BAD8BBE8B20E030E040E85FE36B8991
|
||||||
|
:100950007C898D899E890E94860581152CF481E011
|
||||||
|
:1009600090E0988F8F8B40C020E03FEF4FE757E437
|
||||||
|
:100970006B897C898D899E890E940706813054F19C
|
||||||
|
:1009800020E030E040E251E46F85788989899A89D6
|
||||||
|
:100990000E940C06DC01CB01BC01CD010E948B053D
|
||||||
|
:1009A000DC01CB01988F8F8B10C080E991E09A8F8A
|
||||||
|
:1009B000898F898D9A8D0197F1F79A8F898F000021
|
||||||
|
:1009C0008F89988D0197988F8F8B8F89988D00973D
|
||||||
|
:1009D00061F715C06B897C898D899E890E948B0582
|
||||||
|
:1009E000DC01CB01988F8F8B8F89988D9C8F8B8F9B
|
||||||
|
:1009F0008B8D9C8D0197F1F79C8F8B8F000085E28A
|
||||||
|
:100A000090E0FC01208185E290E0277FFC012083BB
|
||||||
|
:100A100085E290E0FC01208185E290E02F7EFC01E0
|
||||||
|
:100A2000208380E090E0AAEFB3E489839A83AB83CC
|
||||||
|
:100A3000BC8320E030E04AE755E469817A818B810C
|
||||||
|
:100A40009C810E940C06DC01CB018D839E83AF83C9
|
||||||
|
:100A5000B88720E030E040E85FE36D817E818F81E0
|
||||||
|
:100A600098850E94860581152CF481E090E09A8794
|
||||||
|
:100A7000898740C020E03FEF4FE757E46D817E81DA
|
||||||
|
:100A80008F8198850E940706813054F120E030E084
|
||||||
|
:100A900040E251E469817A818B819C810E940C063D
|
||||||
|
:100AA000DC01CB01BC01CD010E948B05DC01CB0137
|
||||||
|
:100AB0009A87898710C080E991E09C878B878B8516
|
||||||
|
:100AC0009C850197F1F79C878B87000089859A8523
|
||||||
|
:100AD00001979A87898789859A85009761F715C05C
|
||||||
|
:100AE0006D817E818F8198850E948B05DC01CB0111
|
||||||
|
:100AF0009A87898789859A859E878D878D859E852A
|
||||||
|
:100B00000197F1F79E878D870000CCCA0E94BA0535
|
||||||
|
:100B100008F481E008950E94E60588F09F5798F058
|
||||||
|
:100B2000B92F9927B751B0F0E1F0660F771F881FF2
|
||||||
|
:100B3000991F1AF0BA95C9F714C0B13091F00E940C
|
||||||
|
:100B40000006B1E008950C940006672F782F8827DF
|
||||||
|
:100B5000B85F39F0B93FCCF3869577956795B39533
|
||||||
|
:100B6000D9F73EF490958095709561957F4F8F4FA2
|
||||||
|
:100B70009F4F0895990F0008550FAA0BE0E8FEEF6C
|
||||||
|
:100B800016161706E807F907C0F012161306E40751
|
||||||
|
:100B9000F50798F0621B730B840B950B39F40A264A
|
||||||
|
:100BA00061F0232B242B252B21F408950A2609F428
|
||||||
|
:100BB000A140A6958FEF811D811D089557FD905886
|
||||||
|
:100BC000440F551F59F05F3F71F04795880F97FB11
|
||||||
|
:100BD000991F61F09F3F79F08795089512161306CB
|
||||||
|
:100BE0001406551FF2CF4695F1DF08C016161706FA
|
||||||
|
:100BF0001806991FF1CF869571056105089408952F
|
||||||
|
:100C0000E894BB2766277727CB0197F908950E94C0
|
||||||
|
:100C1000BA0508F48FEF08950E941F060C94900601
|
||||||
|
:100C20000E94820638F00E94890620F0952311F078
|
||||||
|
:100C30000C9479060C947F0611240C9401060E94F2
|
||||||
|
:100C4000DE0570F3959FC1F3950F50E0551F629F2D
|
||||||
|
:100C5000F001729FBB27F00DB11D639FAA27F00D15
|
||||||
|
:100C6000B11DAA1F649F6627B00DA11D661F829F3C
|
||||||
|
:100C70002227B00DA11D621F739FB00DA11D621F21
|
||||||
|
:100C8000839FA00D611D221F749F3327A00D611D3E
|
||||||
|
:100C9000231F849F600D211D822F762F6A2F112420
|
||||||
|
:100CA0009F5750409AF0F1F088234AF0EE0FFF1F53
|
||||||
|
:100CB000BB1F661F771F881F91505040A9F79E3FAA
|
||||||
|
:100CC000510580F00C9479060C9401065F3FE4F323
|
||||||
|
:100CD000983ED4F3869577956795B795F795E79500
|
||||||
|
:100CE0009F5FC1F7FE2B880F911D9695879597F909
|
||||||
|
:100CF000089597F99F6780E870E060E008959FEF9E
|
||||||
|
:100D000080EC089500240A941616170618060906A2
|
||||||
|
:100D1000089500240A941216130614060506089571
|
||||||
|
:100D2000092E0394000C11F4882352F0BB0F40F4F9
|
||||||
|
:100D3000BF2B11F460FF04C06F5F7F4F8F4F9F4F39
|
||||||
|
:060D40000895F894FFCFB6
|
||||||
:00000001FF
|
:00000001FF
|
||||||
|
|
|
@ -1,8 +1,39 @@
|
||||||
#define F_CPU 16000000UL // CPU Frequency
|
#define F_CPU 16000000UL
|
||||||
#include <avr/io.h>
|
#include <avr/io.h>
|
||||||
#include <util/delay.h>
|
#include <util/delay.h>
|
||||||
|
|
||||||
int main(void) {
|
|
||||||
while (1) {
|
int main(void)
|
||||||
}
|
{
|
||||||
|
DDRB = 0xff;
|
||||||
|
|
||||||
|
while (1)
|
||||||
|
{
|
||||||
|
// green
|
||||||
|
PORTB |= (1<<PORTB5);
|
||||||
|
_delay_ms(500);
|
||||||
|
PORTB &= ~(1<<PORTB5);
|
||||||
|
_delay_ms(500);
|
||||||
|
|
||||||
|
// yellow
|
||||||
|
PORTB |= (1<<PORTB4);
|
||||||
|
_delay_ms(500);
|
||||||
|
PORTB &= ~(1<<PORTB4);
|
||||||
|
_delay_ms(500);
|
||||||
|
|
||||||
|
// red
|
||||||
|
PORTB |= (1<<PORTB3);
|
||||||
|
_delay_ms(500);
|
||||||
|
PORTB &= ~(1<<PORTB3);
|
||||||
|
_delay_ms(500);
|
||||||
|
|
||||||
|
|
||||||
|
// red
|
||||||
|
PORTB |= (1<<PORTB3);
|
||||||
|
PORTB |= (1<<PORTB4);
|
||||||
|
_delay_ms(500);
|
||||||
|
PORTB &= ~(1<<PORTB3);
|
||||||
|
PORTB &= ~(1<<PORTB4);
|
||||||
|
_delay_ms(500);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue