Hi all, i have a problem which i was hoping someone could help me with. I am attempting a task that creates a set of 3 random numbers which are stored in three separate characters. These numbers are only between 0 and 3 so will only ever use a max of 2 bits. Given this my problem, i need to display each of these numbers on a set of 8 LEDS simultaneously using a global interrupt every 250ms. Each random number is generated on 2 LEDS with a space between each, which the space LED is not active. Eg. 11011011 where the 11's are where i display each random number. My interrupt works fine, the only problem is i have no idea how to display 3 different values on specific bits of the Port they are on at the same time. Any suggestions/help would be appreciated? I'm using an ATMEGA8 device, and my knowledge of C is relatively basic but i do have have an understanding of pretty much everything else im doing at the moment.