Assignment Task:
RGB Practice Exercise We has an Ultrasonic, RGB LED, and piezo.
Arduino program that reads the distance from the ultrasonic sensor, then if the distance: Less than 5 cm the RGB LED will turn on the red color, and the piezo will play a sound Between 5 cm and 10 cm the RGB LED will turn on the blue color O Between 10 cm and 15 cm the RGB LED will turn on the green color Greater than 15 cm the RGB LED will blink the yellow color.
NOTE: USE TinkerCad, send the code and a screenshot of the scheme showing every detail like resistor ohms and others.