I have configured my portB of ATtiny85 in AVRstudio7 for 3 leds like this:
DDRB |= (1<<PB1)| (1<<PB3) |(1<<PB4);
PORTB &=~ (1<<PB1)| (1<<PB3) |(1<<PB4);
Something are wrong in my small project, because this only happen with attiny85 MCU Device.
The led that blink is the LED2 connected PB1 pin 6 of ATtiny85, others two wont blink.
I tried to build some in I2C, but for now I have this kind of issue.
I’ve tried to call intx5.h library, but I have a error "Include <avr/io.h> instead of this file."
So I include <avr/io.h>.
Other test I have made is: change the DDRB|=0xFF, and the PORTB |=0xFF,
but for my work couldn’t be like this, because I have to change some specific bits to hight and Low everytime.
I have two gif to show the issue.