Nov 06, 2017
09:40 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 06, 2017
09:40 PM
I am using PSoC 4 CY8CKIT042 BLE Pioneer kit. I want generate pulse when I press a button and count the number of pulses by capturing them and firing them on serial port. I am using CY8C4248LQI-BL583.
Solved! Go to Solution.
Labels
1 Solution
Nov 07, 2017
01:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 07, 2017
01:48 AM
Divide et impera.
When I understand you right:
- Enable the pulse counter
- Enable UART
- When push the button (read pin) a stream of pulses is generated -> Start a PWM
- When button released (read pin) -> Stop the PWM, read pulse counter, convert to ASCII, send via UART, clear Pulse counter
- Loop to 3.
Try to implement and test one part after the other, use the debugger, use comments in your code
Bob
1 Reply
Nov 07, 2017
01:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Nov 07, 2017
01:48 AM
Divide et impera.
When I understand you right:
- Enable the pulse counter
- Enable UART
- When push the button (read pin) a stream of pulses is generated -> Start a PWM
- When button released (read pin) -> Stop the PWM, read pulse counter, convert to ASCII, send via UART, clear Pulse counter
- Loop to 3.
Try to implement and test one part after the other, use the debugger, use comments in your code
Bob