sorry that i had to write in english, but writing in arabic language is kinda very slow for me and i wont be able to put the right words in time.
Let's get into my request directly to save your time, i'm doing a project for my 3rd year of engineering in mechatronics. And i need to use pic16f84a as my micro-controller. But i'm facing a problem in adjusting the inputs right as i want so i want a sample code to work on my code. s
i'm using mplab as my ide, picc_ccs as my compiler, proteus as my simulator.
I want a sample code in c doing a simple function; for example:s
- input 5v @ pin_a0 > output is high @ pin_b0 & pin_b1 ~ for 1 sec
- input 5v @ pin_a1 > output is high @ pin_b2 & pin_b3 ~ for 1 sec
- input 5v @ pin_a2 > output is high @ pin_b4 & pin_b5 ~ for 1 sec
- input 5v @ pin_a3 > output is high @ pin_b6 & pin_b7 ~ for 1 sec
i attached my code for 8 leds sequence, it works fine by lighting up 8 leds in sequence one each sec...
Hope you can help me as soon as possible - again sorry for writing in english
اخي الكريم انا ممكن اساعدك ولكن بلغة الاسيمبلي او بالفلوكود