Skip to content

Commit

Permalink
docs: update example
Browse files Browse the repository at this point in the history
  • Loading branch information
antonfisher committed Feb 14, 2022
1 parent 2c7f824 commit bf162b8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,11 @@ func main() {

// Create driver for Adafruit 15x7 CharliePlex LED Matrix FeatherWing
// (CharlieWing): https://www.adafruit.com/product/3163
ledMatrix, err := is31fl3731.NewAdafruitCharlieWing15x7(bus, I2CAddress)
ledMatrix := is31fl3731.NewAdafruitCharlieWing15x7(bus, I2CAddressLEDMatrix)

err = ledMatrix.Configure()
if err != nil {
println("could not create driver:", err)
println("could not configure led driver:", err)
return
}

Expand Down

0 comments on commit bf162b8

Please sign in to comment.