I need to connect the following devices to an Arduino UNO board. The problem is that I run out of pins to be able to connect them all. Is there any way to do it?
- ultrasonic sensor
- yellow led
- green led
- red led
- keypad 4x4
I'm doing the project in Tinkercad
In the picture below I tried to do it, but I am missing 2 pins for the ultrasonic sensor trig and echo