CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
Ardupilot

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.

GitHub Repository: Ardupilot/ardupilot
Path: blob/master/Tools/Linux_HAL_Essentials/pru/rangefinderpru/README.md
Views: 1800

PRU firmware for HC-SR04 rangefinder

HC-SR04 driver that can be used with BeagleBone Black

Install PRU C-Compiler

  1. sudo apt-get update

  2. sudo apt-get install ti-pru-cgt-installer

Rebuild rangefinder.c

  1. cd ardupilot/Tools/Linux_HAL_Essentials/rangefinderpru/

  2. make