This repository contains C source code for the Tiva C TM4C123G LaunchPad ARM Cortex-M processor to control the HC-SR04 sensor. The HC-SR04 is a short-range ultrasonic sensor with a range of approximately 2cm to 400cm.
The software is based upon the article titled Interfacing HC-SR04 Ultrasonic Sensor with Cortex-M.
The Keil uVision IDE was used to compile and download the software to the Tiva C board. MDK-Lite Version 5.38.0.0 was used.