![]() |
microcontroller code using c
hello
i m working on a project involving microcontroller, i have square wave pulse as an input to my 16f877a microcontroller (the amplitude of the waves is rather 0v or 5v) i want to count how many pulse i have in 30 seconds, multiply it y 120 and then output the result on a 7segment display. i know C++, i tried to think of how to do it and came up with the following. Code:
do{ |
Re: microcontroller code using c
Replace your for loop with this do...while
Code:
|
| All times are GMT +5.5. The time now is 10:33. |