CapSense proximity sensing

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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

0 Likes
2 Replies
Anonymous
Not applicable

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

0 Likes
Anonymous
Not applicable

Hi Keerthi, 

   

Yes, I assigned a different pin and it works now. Thanks.

0 Likes