对于LiquidCrystal库
这是一个LiquidCrystal库为到接口与液晶(LCD)显示器。
安装
go get -v github.com/Lupino/LiquidCrystal
例子
package main
import (
"github.com/Lupino/LiquidCrystal"
"github.com/hybridgroup/gobot"
"github.com/hybridgroup/gobot/platforms/firmata"
)
func main () {
gbot := gobot . NewGobot ()
firmataAdaptor := firmata . NewFirmataAdaptor ( "firmata" , "/dev/ttyACM0" )
lcd := LiquidCry