as i was saying i have 4 led like led1, led2,led3,led4
and my program is a 4 bit counter which counts from 0000, 0001, 0010....to 1111. so what is the code to make the led light up whenever my string of numbers shows a 1. example
when 0010 is being input, the 3rd led is being light up the rest are all off.
to light the led the command is led3 = true
thanks for helping guys/gals