Allow me to share a pair of diagrams that detail this easy structure. We are going to suppose the circuit is powered by 5V. Should your supply voltage is different, some resistor values may need to vary (see more below). This delivers makers with the mandatory info on the facial https://dotarsimportpermit67665.blogoxo.com/20113778/how-dot-bars-can-save-you-time-stress-and-money