mikroC help me

السلام عليكم

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

بالتوفيق

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

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