@#@# !!!@ $#@! %$!!
Alright, now that I got THAT halfway off my chest...I'm STUCK using a t10 for a client's app. Nothing I do will set PB2 as an output pin to HIGH !!!? Nothing else is connected to the MCU yet. I couldn't find anything about this...
I read its sign. correctly and it programs fine...
Clk source is the default 8 MHz / 8.
Stank Tiny10 is the 6 pin package, at 5V.
Toolchain: 1), 2) and B) from my sign.
.nolist .include "tn10def.inc" .list .equ BLUE_LED PB2 // Right pin .equ RED_LED PB1 // Left pin .org 0x0000 rjmp reset reti ;INT0 reti reti reti reti reti reti reti reti .org 0x000D reset: // Stack pointer auto. set to RAMEND. ldi r17, 1<< PB2 ldi r16, 1<< DDB2 out PORTB, r17 out DDRB, r16 //sbi PORTB, 2 //sbi DDRB, 2 loop: rjmp loop