Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIM1_INTERRUPT #6

Open
nguyenhuuphuoc1996 opened this issue Jan 25, 2019 · 0 comments
Open

TIM1_INTERRUPT #6

nguyenhuuphuoc1996 opened this issue Jan 25, 2019 · 0 comments

Comments

@nguyenhuuphuoc1996
Copy link

Hi AVISLAB.
Thank you for your post.
I'm reading your code and I dont understand what mission of tim1_interrupt handle.
you writted if(TIM1->CNT < 2250/2) {...}, but as I known, if jump into the interrupt handle in this case, the CNT would be 0 or 2250. And if true, it cant be out of IF LOOP because CNT always 0. Or I understand mistake your code.
Please help me this issues.
Again, thank you so much.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant