4 Replies Latest reply on Jan 2, 2017 12:56 PM by user_563593

    Distancing Measuring with HC-SR04 For CY8CKIT-059 PSoC® 5LP


      Hi everyone,


      I've very new to usage of PSoC, but I have a project that I want to attempt in using PSoC as the microcontroller to control the HC-SR04 chip and return a distance.


      I understand how the HC-SR04 works on the ardriuno but when it comes to using the PSoC I used the following code as a guide.




      For the last couple of hours, I've been trying to port over the code the PSoC 5LP and specifically the CY8CKIT-059. When I upload the current code into the device, the distance does not show and I'm unsure as to why this is so.




      Any Assistance would be greatly appreciated. I have uploaded the project below but it is literally a copy of Dana's project except with an adjust target device. 




      Thanks in advance