Controlling one light-emitting diode (LED) with an ESP32 Third is a surprisingly simple task, especially when using the 1k resistance. The resistance limits the current flowing through a LED, preventing it from frying http://theengineerstore.in/products/hak5-lan-turtle