Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.
Thankyou Klaus. I solved the problem using two nodes. Counting I did in node 3 then I send those data throught USART at node 2 and then I displayed in 7segments.
Thanks Klaus for your suggestions. I made some changes in the code but the result of rps and rpm is still 0. The reason for that loop is to make displaying numbers in 7segments for a short time.
I redused in 1000 counting in loop. I set that part of code in the main loop. ISR and the timer...
Can anyone can help my why this code doesn't work. The timer interrupts doesn't count the rpm. The purpose of project is to find the rpm of Fan and display in 7segments. In specifications of Fan the rpm is 10000. I'm using atmega128 and the pin of IC is PIND4 and also to display in 7segments...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.