mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-22 13:29:01 +00:00
machine/dummy: Add LED1, LED2, etc to dummy machine
This commit is contained in:
@@ -12,7 +12,14 @@ const (
|
|||||||
GPIO_OUTPUT
|
GPIO_OUTPUT
|
||||||
)
|
)
|
||||||
|
|
||||||
const LED = 0
|
// Fake LED numbers, for testing.
|
||||||
|
const (
|
||||||
|
LED = LED1
|
||||||
|
LED1 = 0
|
||||||
|
LED2 = 0
|
||||||
|
LED3 = 0
|
||||||
|
LED4 = 0
|
||||||
|
)
|
||||||
|
|
||||||
func (p GPIO) Configure(config GPIOConfig) {
|
func (p GPIO) Configure(config GPIOConfig) {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user