Three LED and a switch equals railroad crossing lights.
The first part in a series of controlling a OO/HO railway layout using M5Stack Products.