I wanted to know if it is possible to use PSoC5LP the proximity sensing with the CY8CKIT-059.
Welcome in the forum, Florian!
Yes, you may use CapSense and proximity sensors with the -059 kit. The needed capacitor CMOD is already on the board, so you just need a wire connected to the pin of your choice.
Thank you Bob,
I tried to do the same thing as in this video: https://www.youtube.com/watch?v=BMslzJHodyg&ab_channel=FutureElectronics. But I did not find the location of the bootloader. So please do you have an answer for his location? Or a solution for use the proximity sensors .
Your -059 kit has got a kitprog which you use as programmer and debugger. You do not need a bootloader or bootloadable component.
So if i do the exact same thing as in this video but without the part with the bootloader it should work?
Yes, you can! Care fot the LED-pin which is Port2 pin 1 for the -059 kit <8different from your -49 example)
So I wrote this :
if(! CapSense_1_IsBusy() )
LED_Write( CapSense_1_CheckIsWidgetActive( CapSense_1_PROXIMITYSENSOR0__PROX ) );
but when i put the wire for the proximity sensors the LED is on and she is on all the time excpet when there is no wire. So what is the problem?
You repeat ScanEnabledWidgets() over and over and do not wait until it is done. Do not use an "if", instead wait until not busy.
I frequently use
#define Wait(x) // Just for the readability
while(CapSense_1_IsBusy() ) Wait();
It works, thank you!!
Great! But seemingly took you a long time to evaluate. Holydays???