suvaraj
Member level 2
hi to all
i'm using pic16f873a for counter in 7segment display in c language(common cathode).use 4017 and 2003 ic for segment glow(to giv a clock signal and reset signal to 4017).then 5 keys are series connection and connected to RA2
(key1:viewkey, key2:segment moving,key3:incrementkey,key4:decrement key,key4:reset).
but i have a doubt.that is if i press a first key means first segment displays like s,l,r.then 2nd key press means segment moving,3rd key for inc&4th key for decrement,5th key for reset.but the hardware consists of one line for keys.
how to i write program?pls help me
thanks to all
i'm using pic16f873a for counter in 7segment display in c language(common cathode).use 4017 and 2003 ic for segment glow(to giv a clock signal and reset signal to 4017).then 5 keys are series connection and connected to RA2
(key1:viewkey, key2:segment moving,key3:incrementkey,key4:decrement key,key4:reset).
but i have a doubt.that is if i press a first key means first segment displays like s,l,r.then 2nd key press means segment moving,3rd key for inc&4th key for decrement,5th key for reset.but the hardware consists of one line for keys.
how to i write program?pls help me
thanks to all
Last edited by a moderator: