- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi All,
Firstly, apologies if I'm posting in the wrong section...
I'm working my way through the PSOC 101 tutorial videos and am having a bit of trouble on the "extension" task of video 6 which uses a series of toggle flip flops to cycle through led colours.
Initially I followed the task with two flip flops as explained and had no problems, but when I tried to add a third some unusual things came up.
Assuming it's a positive edge flip flop, in my configuration as far as I can tell the order should be: off, white, magenta, yellow, red, cyan, blue, green, off, etc...
I don't seem to have a consistent order, and whats more it seems to be often changing colour when I release the switch as well as pressing it. I've uploaded the project, so if anyone's got a few minutes, do they mind taking a quick look?
Thanks in advance,
Rob
edit - Here's the link to the video if that helps - http://www.cypress.com/training/psoc-101-video-tutorial-series-how-use-arm-cortex-m0-based-psoc-4
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your switch probably bounces. There is a Debouncer component (under digital utilities) which could help.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your switch probably bounces. There is a Debouncer component (under digital utilities) which could help.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Worked perfectly Bob, thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are always welcome, Rob.
Bob