mikroC help me

(eng.lamloom) #1

السلام عليكم

i want to put a push button as an input to pic16F887 and i have 5 outputs in this pic each output connected to led just for testing.the function of push button is when i press it once the first led is ON,when i press it again the 2nd led is ON and so on for 5 times (counting up)
just give me a hint of how to begin

  • push button with a pull up resistor connected to pin: RA4/Tock1

(dr_khaled) #2


(msh2003) #3

ما شاء الله رد مقنع

(system) #4

تجميع مشاركات