Getting the LED to turn on with a battery and 220 Ohm resistor. In our week 3 lab session I discovered I didn't have the battery so I used the Raspberry Pi as a power source instead.
Working:
Code:
```
import RPi.GPIO as GPIO
...
...
@@ -18,7 +16,11 @@ GPIO.setwarnings(False)
GPIO.setup(18,GPIO.OUT)
GPIO.output(18,GPIO.HIGH)
```
[]
<imgsrc="Task1.JPG"width="30%">
I then upgraded the breadboard using the same principles I learnt in the previous task.