The code of my 2017 sumo robot, using an arduino nano, two HC-SR04 ultrasonic sensors, two TCS3200 color sensors and a L298N motor controller.
A small PlatformIO/Arduino project that measures distance using an ultrasonic sensor (HC-SR04 or similar) and prints the measured distance over the serial port. This README explains how to open the ...