20121012-183142
This commit is contained in:
Binary file not shown.
@@ -1,7 +1,7 @@
|
||||
:1000000012C017C016C015C014C013C012C011C052
|
||||
:1000100010C00FC00EC00DC00CC00BC00AC009C07C
|
||||
:1000200008C007C006C011241FBECFEDCDBF02D04F
|
||||
:1000300019C0E6CF8FE787BB8FEF88BB2FEF34E384
|
||||
:1000300019C0E6CF8FE787BB88E788BB2FEF34E393
|
||||
:100040004CE0215030404040E1F700C0000018BAB9
|
||||
:100050002FEF34E34CE0215030404040E1F700C046
|
||||
:080060000000EBCFF894FFCF84
|
||||
|
||||
@@ -61,17 +61,17 @@ Disassembly of section .text:
|
||||
32: e6 cf rjmp .-52 ; 0x0 <__vectors>
|
||||
|
||||
00000034 <main>:
|
||||
#include <avr/io.h>
|
||||
#include <util/delay.h>
|
||||
|
||||
#define SA 0b00111111
|
||||
#define SB 0b01110101
|
||||
#define SC 0b01111000
|
||||
|
||||
int main(void) {
|
||||
DDRB = 0b01111111;
|
||||
34: 8f e7 ldi r24, 0x7F ; 127
|
||||
36: 87 bb out 0x17, r24 ; 23
|
||||
while(1){
|
||||
PORTB = 255;
|
||||
38: 8f ef ldi r24, 0xFF ; 255
|
||||
PORTB = SC;
|
||||
38: 88 e7 ldi r24, 0x78 ; 120
|
||||
3a: 88 bb out 0x18, r24 ; 24
|
||||
#else
|
||||
//round up by default
|
||||
|
||||
Reference in New Issue
Block a user