VMA412 with HC-SR04 ultrasonic sensor


Hi! I’m trying to use the VMA412 to do a graph of the distance received by the ultrasonic controller. When I upload the Arduino program I can see the graph, but the ultrasonic sensor sends 0.00 cm all the time so the graph only draws a line at 0. My question is if there is any library available to make the Arduino work with the HC-SR04 and the VMA412 at the same time.

Right now I have these libraries:
- Adafruit_TFTLCD
- Adafruit_GFX
- TouchScreen
- gfxfont

Thank you!


From what I have seen the VMA300 does not need a library
You should search Arduino ultra sonic and see if you can find a sketch that prints to the serial port to test it