Skip to content

Commit

Permalink
Set the star to be an output pin too, oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickgrim committed Dec 3, 2017
1 parent 606a830 commit e1d0b60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ func main() {
done bool
data uint32
)
// Set up GPIO, and set all of our pins to low
// Set up GPIO, and set all of our pins to be an output
if err := rpio.Open(); err != nil {
log.Fatalln(err)
}
star.Output()
for _, p := range leds {
p.Output()
}
Expand Down

0 comments on commit e1d0b60

Please sign in to comment.