xnihilo
- 28th May 2008, 15:00
hi,
i'd like to switch between 10 outputs using a 4017 decade counter.
let's say i'm using 10 leds which anode is linked to one of the 10 outputs.
i have to connect vdd an vss, obviously, then the clock pin to a pin of my pic, the clock enable to another pic pin and the carryout to the clock pin of another 4017 if desired, right?
If i understood well the datasheet, by default, output 0 will be on. to switch to next outout i have to input a positive voltage to clock pin AND bring clock enable pin low, is this right?
even if i put a positive voltage on clock pin, it wont switch to next output, right?
Last thing, the switch to next output happens only on the rising edge of the clock pin, right?
i'd like to switch between 10 outputs using a 4017 decade counter.
let's say i'm using 10 leds which anode is linked to one of the 10 outputs.
i have to connect vdd an vss, obviously, then the clock pin to a pin of my pic, the clock enable to another pic pin and the carryout to the clock pin of another 4017 if desired, right?
If i understood well the datasheet, by default, output 0 will be on. to switch to next outout i have to input a positive voltage to clock pin AND bring clock enable pin low, is this right?
even if i put a positive voltage on clock pin, it wont switch to next output, right?
Last thing, the switch to next output happens only on the rising edge of the clock pin, right?