We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b0cbf4 commit 1137ebcCopy full SHA for 1137ebc
README.md
@@ -0,0 +1,13 @@
1
+# led
2
+Small LED library for use with Swift on Raspberry Pi
3
+
4
+This makes it easier to use LEDs with Swift.
5
6
+Here is a small example that will turn on an LED that is connected to GPIO pin 17 on a Raspberry Pi 3.
7
+```
8
+let gpios = SwiftyGPIO.GPIOs(for:.RaspberryPi3)
9
+let led = LED(gpioPin: .P17, swiftyGPIOs: gpios)
10
+led.value = 1
11
12
13
+See [**blink** aka Hello World for Swift on Raspberry Pi: Blink an LED](https://github.com/luisdelarosa/blink) for a full example.
0 commit comments