aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/machine/board_teensy36.go
diff options
context:
space:
mode:
authorAyke van Laethem <[email protected]>2022-06-29 15:30:41 +0200
committerRon Evans <[email protected]>2022-07-15 14:46:33 +0200
commit0a93347e1c1611f5c5ebcb138759fd4d0e522c7d (patch)
tree1483a8bfd95a9d6131754d42754afb500ab9161b /src/machine/board_teensy36.go
parent411333327efdb3bc46d1e05fef11bebfc24325a2 (diff)
downloadtinygo-0a93347e1c1611f5c5ebcb138759fd4d0e522c7d.tar.gz
tinygo-0a93347e1c1611f5c5ebcb138759fd4d0e522c7d.zip
machine: reorder pin definitions to improve pin list on tinygo.org
Diffstat (limited to 'src/machine/board_teensy36.go')
-rw-r--r--src/machine/board_teensy36.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/machine/board_teensy36.go b/src/machine/board_teensy36.go
index 106382be3..5ccb29ef8 100644
--- a/src/machine/board_teensy36.go
+++ b/src/machine/board_teensy36.go
@@ -9,9 +9,6 @@ func CPUFrequency() uint32 { return 180000000 }
// ClockFrequency returns the frequency of the external oscillator (16MHz)
func ClockFrequency() uint32 { return 16000000 }
-// LED on the Teensy
-const LED = PC05
-
// digital IO
const (
D00 = PB16
@@ -80,6 +77,9 @@ const (
D63 = PE05
)
+// LED on the Teensy
+const LED = PC05
+
var (
TeensyUART1 = UART0
TeensyUART2 = UART1