JHD1313M1
Used for displaying text on an LCD screen.
API ReferenceHow To Connect
Install the package with: go get gobot.io/x/gobot
You must pass in an Adaptor that supports the i2c.Connector
interface to use with this Driver.
You can use the following optional params if you wish to change the I2C Bus from the default value.
i2c.WithBus(int)
: bus to use with this driver.
// default bus/addresses lcd := i2c.NewJHD1313M1Driver(adaptor) // optional bus lcd := i2c.NewJHD1313M1Driver(adaptor, i2c.WithBus(0))
How To Use
Example using a JHD1313M1 LCD.
// code here