Skip to content

Commit c76a6d4

Browse files
authored
LED is undefined error (#25)
When running this example, I got the error that LED was not defined. The fix was easy enough, Implementation as proposed in the projects README
1 parent ff9c2a3 commit c76a6d4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

example/environmental.jl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33

44
using SenseHat
55

6+
# an 8x8 matrix of `RGB565` elements that is memory-mapped to the Sense HAT LED Matrix
7+
LED = led_matrix()
8+
69
# Create channel to store stick events
710
c = Channel{StickEvent}(32)
811
@async while true

0 commit comments

Comments
 (0)