Aug 16, 2014
02:17 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 16, 2014
02:17 PM
Hey everyone,
I know that there are lot of topic about it, but I didn't find a good one which works. I would like to measure the signal PWM from a receiver R/C. The high pulse duration is between 1ms-2ms with a frequency of 60Hz
I try to use a timer but I don't achieve to get a good value.
I put a timer in UDB but I don't understand what should I use.
I want to start the timer when I have a rising edge, and go to an interrupt when I have a falling edge, after in my interrup I read the timer, obtain the duration and reset the timer
But there are too much pins and I don't know what to choose and connect:
Thank you
Labels
- Labels:
-
PSoC 5LP
1 Reply
Attachments are accessible only for community members.
Aug 16, 2014
02:27 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 16, 2014
02:27 PM