mirror of
https://github.com/tinygo-org/drivers.git
synced 2026-08-03 06:27:47 +00:00
missed high or low ~voltage~ level
This commit is contained in:
committed by
deadprogram
parent
c815f2560e
commit
807ae3da9b
@@ -1,7 +1,7 @@
|
||||
package drivers
|
||||
|
||||
// PinOutput is hardware abstraction for a pin which outputs a
|
||||
// digital signal (high or low voltage).
|
||||
// digital signal (high or low level).
|
||||
//
|
||||
// // Code conversion demo: from machine.Pin to drivers.PinOutput
|
||||
// led := machine.LED
|
||||
@@ -10,7 +10,7 @@ package drivers
|
||||
type PinOutput func(level bool)
|
||||
|
||||
// PinInput is hardware abstraction for a pin which receives a
|
||||
// digital signal and reads it (high or low voltage).
|
||||
// digital signal and reads it (high or low level).
|
||||
//
|
||||
// // Code conversion demo: from machine.Pin to drivers.PinInput
|
||||
// input := machine.LED
|
||||
|
||||
Reference in New Issue
Block a user