Anonymous
Not applicable
Feb 04, 2016
01:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 04, 2016
01:53 PM
Hi,
I'm working on the example project ( PSoC 4 BLE Capsense Proximity ). I am trying to output the proximity value calculated in the project to the UART. I was successful in doing that. However, I would also like to toggle an LED on/off every time there is a change in the proximity value. I tried to use the command LED_Write but I don't see it working. Any help is appreciated.
Thanks
2 Replies
Anonymous
Not applicable
Feb 08, 2016
09:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 08, 2016
09:31 PM
Have you placed a pin in the TopDesign and assigned it to the pin to which LED is connected? Note that the API is 'pin_name'_Write(1/0).
If you could attach the project, we can check and see what could be the issue.
-Keerthi
Feb 09, 2016
12:41 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 09, 2016
12:41 PM
Hi Keerthi,
Yes, I assigned a different pin and it works now. Thanks.