Add: 1251 5x7 font
This commit is contained in:
@ -10,6 +10,10 @@ import (
|
||||
"github.com/stianeikeland/go-rpio/v4"
|
||||
)
|
||||
|
||||
const (
|
||||
waitReadyTimeout = time.Microsecond
|
||||
)
|
||||
|
||||
type mt12232a struct {
|
||||
logger *log.Logger
|
||||
|
||||
@ -154,7 +158,7 @@ func (d *mt12232a) readByte(cd, cs rpio.State) (byte, error) {
|
||||
func (d *mt12232a) waitReady(cs rpio.State) error {
|
||||
// d.pinCS.Write(cs) // Select cristals
|
||||
// return d.dev.WaitReady()
|
||||
time.Sleep(time.Microsecond)
|
||||
time.Sleep(waitReadyTimeout)
|
||||
return nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user