Guten Tag. irgendwie überspringt AVRStudio wenn ich im Simulatior bin schritte. Das Programm ist bisher:
1 | #include <avr/io.h> |
2 | |
3 | int main (void) { |
4 | |
5 | DDRB = 0x1F; |
6 | PORTB = 0x1F; |
7 | |
8 | while (1) { |
9 | |
10 | |
11 | }
|
12 | |
13 | return 0; |
14 | }
|
Hierbei setzt er nie PORTB auf 0x1F;. Wenn ich
1 | PORTB = 0x1F; |
zweimal untereinander schreibe überspringt er das obere und führt das untere aus. Woran könnte das liegen?