I need a program written in C for the RPI. I am using this device:
https://www.amazon.com/gp/product/B01J5KZU8M/ref=oh_aui_search_detailpage?ie=UTF8&psc=1
I want to test it on the RPI. The program needs to have a button to instruct the device to take a reading and then to display the reading on the same screen. I need to be able to press it several times and get several readings without having to restart the program each time.
Here is an example of a program that may be adapted to work:
[login to view URL]
I am not quite sure which pins on the GPIO need to be hooked up, so I would need that info from you.
pins 8 and 10 if RIP 3 (UART0_TXD, UART0_RXD). I am currently doing a project with raspberry pi but i am using its USB connection to communication between device (just like serial).
If u need any futer help please let me know.
I have HC SR04 and RIP 3.