mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 10:37:46 +00:00
microbit: remove LED constant
There doesn't appear to be a user-controllable LED outside of the LED matrix. In fact, the pin assigned for this was P13, which was connected to the SPI SCK pin.
This commit is contained in:
committed by
Ron Evans
parent
d919905c96
commit
3fe13a72bd
@@ -5,11 +5,6 @@ package machine
|
||||
// The micro:bit does not have a 32kHz crystal on board.
|
||||
const HasLowFrequencyCrystal = false
|
||||
|
||||
const (
|
||||
LED = P13
|
||||
LED1 = LED
|
||||
)
|
||||
|
||||
// Buttons on the micro:bit v2 (A and B)
|
||||
const (
|
||||
BUTTON Pin = BUTTONA
|
||||
|
||||
Reference in New Issue
Block a user