I need your help in my project. I want to program for the below said logic. I have a 4 digit binary serial number say 1010, i should make each digit as my digital output. Example if my serial read is 1010 my digital pins 13,11 should be high and 12, 10 should be low(if i took 4 digital outputs from 10 to13). I mean my each bit should be a output. Could you pls help me in solving this. I have tried so many but its not working.