Skip to content
Snippets Groups Projects
Commit c1417255 authored by ckd2-elford's avatar ckd2-elford
Browse files

Update file README.md

parent 8c04e5f9
Branches
No related tags found
No related merge requests found
......@@ -3,11 +3,9 @@
### Authors
Cosmo Elford
## Task 1
## Task 1, 2
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)
```
[![Task 1](~/Task1.JPG "Task 1")]
<img src="Task1.JPG" width="30%">
I then upgraded the breadboard using the same principles I learnt in the previous task.
## Task 2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment