Circuit connection for LEDs


As in the module it had been said that " As an assignment connect the LED to different pins and try to turn it ON/OFF" , so we have to change the end of LED to ‘3V3’ from GND or the end of resistor from ‘0’ to ‘A0’ or ‘TX’.


No, you cannot change the position of the negative terminal of the LED from GND to 3V3 or the other end of the resistor from ‘0’ to ‘A0’ or ‘TX’.What you have to do is change the other end of resistor from 0 to other GPIOs like ‘1’,‘2’,‘3’,‘4’…thats


@nmj9609 The pin connected to the GND will remain the same. You only need to connect the other LED pin to a different pin like 0,1,2 etc. and then give the command to turn it on.


The negative of the led will be grounded and the positive will be changed to various GPIO like 0,1 etc.