mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 18:47:47 +00:00
rp2040: add definition for machine.PinToggle
This commit is contained in:
@@ -241,6 +241,8 @@ const (
|
||||
PinFalling PinChange = 4 << iota
|
||||
// Edge rising
|
||||
PinRising
|
||||
|
||||
PinToggle = PinFalling | PinRising
|
||||
)
|
||||
|
||||
// Callbacks to be called for pins configured with SetInterrupt.
|
||||
|
||||
Reference in New Issue
Block a user