- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello all,
I recently got a new CY8CKIT-049-42XX. I wat to make a project that blinks an led for 30 seconds, then turns it off. My problem is that every other 30 seconds, the led is on for 30 seconds. So, to make this work, I added an if statement with if (led_Read == 0), but that generates an error. How would I solve this?
Thanks,
Wilson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum, Wilson.
You will need two components: A PWM that blinks the led with a given frequency and a timer that runs for 30 seconds to stop the blinking.
You will need an interrupt component for the timer to be informed when it has run out. Use the API _StartEx() to connect your interrupt handler to the interrupt, look into the datasheet for information.
Happy coding!
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
would the pwm be a TCPWM?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Bob,
Do you know where i can find how many V my CY8CKIT 049 42XX has?
Thanks, Wilson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The board is running at 5V from USB interface. When you installed your -049 kit successfully there is a folder "\Program Files (x86)\Cypress\" where (all) your kits are listed. There you find a large amount of documentation including BOM and schematics.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
how capsense sensitivity increase? if i want sense my hand without touching on capanse button? and give me detail about sensitivity distance between capsense and object(like my hand) and its change??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Welcome in the forum.
Not a very good idea to hijack a thread with a completely different topic.
I would suggest you reading "Proximity Sensing" in CapSense's datasheet.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i tray to make touch switch board for home electrical appliances with remote.i can use ic CY8C4245AXI-483 in touch switch board,using capsense i access all light of home but how can this lights or touch switch board can operate using IR control?can i use general IR remote for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not a very good idea to hijack a thread with a completely different topic
Bob