Browse Source

machine/dummy: Add LED1, LED2, etc to dummy machine

pull/6/head
Ayke van Laethem 7 years ago
parent
commit
89f77fa861
No known key found for this signature in database GPG Key ID: E97FF5335DFDFDED
  1. 9
      src/machine/machine_dummy.go

9
src/machine/machine_dummy.go

@ -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) {
} }

Loading…
Cancel
Save