* calculation of resistance R_LED_R :
<math>
R_{LED_R}=\frac{U_r}{I}=\frac{VDDV_{DD}-U_{LR}}{I}=\frac{3.3V-1.8V}{10mA}
</math>
= ''' 150 ohm '''
* power dispersed by the resistance P_R_LED_R :
<math>
P_{R_{LED}_R}=\frac{R_{LED_R}^2}{I}=\frac{150^{2}}{10mA}
</math>
= ''' 15 mW '''
* calculation of resistance R_LED_O :
<math>R_{LED_O}=\frac{U_r}{I}=\frac{VDDV_{DD}-U_{LO}}{I}=\frac{3.3V-1.9V}{10mA}</math> = ''' 140 ohm '''
* power dispersed by the resistance P_R_LED_O :
<math>P_{R_{LED}_O}=\frac{R_LED_O^{2}}{I}=\frac{140^{2}}{10mA}
</math>
= ''' 14 mW '''
* calculation of resistance R_LED_G :
<math>R_{LED_G}=\frac{U_r}{I}=\frac{VDD - U_{LG}}{I}=\frac{3.3V-2.2V}{10mA}</math>
= ''' 110 ohm '''
* power dispersed by the resistance P_R_LED_G :
<math>P_{R_{LED}_O}=\frac{R_LED_G^{2}}{I}=\frac{110^{2}}{10mA}</math> = ''' 11 mW '''
= Layout =