MCPcopy
hub / github.com/tinygo-org/tinygo / Low

Method Low

src/machine/machine.go:61–63  ·  view source on GitHub ↗

Low sets this GPIO pin to low, assuming it has been configured as an output pin. It is hardware dependent (and often undefined) what happens if you set a pin to low that is not configured as an output pin.

()

Source from the content-addressed store, hash-verified

59// pin. It is hardware dependent (and often undefined) what happens if you set a
60// pin to low that is not configured as an output pin.
61func (p Pin) Low() {
62 p.Set(false)
63}
64
65type ADC struct {
66 Pin Pin

Callers 15

PowerSupplyActiveFunction · 0.80
ChannelMethod · 0.80
resetBusMethod · 0.80
ConfigureMethod · 0.80
ChannelMethod · 0.80
ConfigureMethod · 0.80
ConfigureMethod · 0.80
ChannelMethod · 0.80
mainFunction · 0.80
led1Function · 0.80
led2Function · 0.80
mainFunction · 0.80

Calls 1

SetMethod · 0.95

Tested by

no test coverage detected