hybridgroup/gobot

adafruit_driver.go contains shared variables and init()

Closed this issue · 1 comments

e.g. motorHatAddress = 0x60, servoHatAddress = 0x40 should be splitted into a default constant and an attribute inside the struct "AdafruitMotorHatDriver"

the init function prevents activating the linter "gochecknoinits"

available since v2.2.0