all: refactor all current drivers to use new machine.Pin interface

Signed-off-by: Ron Evans <ron@hybridgroup.com>
This commit is contained in:
Ron Evans
2019-05-26 17:01:47 +02:00
parent 2c0bde0dad
commit 3f946868e1
19 changed files with 134 additions and 159 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import (
func main() {
lcd, _ := hd44780.NewGPIO4Bit(
[]uint8{machine.P0, machine.P1, machine.P2, machine.P3},
[]machine.Pin{machine.P0, machine.P1, machine.P2, machine.P3},
machine.P4,
machine.P5,
machine.P6,