mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-04 19:17:47 +00:00
Fix xiao rp2040 pin variable assignment
According to official infomation(https://wiki.seeedstudio.com/XIAO-RP2040/), D9 and D10 are corresponding to GPIO4 and GPIO3, respectively.
This commit is contained in:
@@ -24,8 +24,8 @@ const (
|
||||
D6 Pin = GPIO0
|
||||
D7 Pin = GPIO1
|
||||
D8 Pin = GPIO2
|
||||
D9 Pin = GPIO3
|
||||
D10 Pin = GPIO4
|
||||
D9 Pin = GPIO4
|
||||
D10 Pin = GPIO3
|
||||
)
|
||||
|
||||
// Analog pins
|
||||
|
||||
Reference in New Issue
Block a user