missed high or low ~voltage~ level

This commit is contained in:
Patricio Whittingslow
2025-09-16 09:31:11 -03:00
parent 8d3cac8322
commit 1f37a1398c
+2 -2
View File
@@ -1,7 +1,7 @@
package drivers package drivers
// PinOutput is hardware abstraction for a pin which outputs a // 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 // // Code conversion demo: from machine.Pin to drivers.PinOutput
// led := machine.LED // led := machine.LED
@@ -10,7 +10,7 @@ package drivers
type PinOutput func(level bool) type PinOutput func(level bool)
// PinInput is hardware abstraction for a pin which receives a // 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 // // Code conversion demo: from machine.Pin to drivers.PinInput
// input := machine.LED // input := machine.LED