Skip to content

Commit 53f6bf1

Browse files
committed
Update TinyGo example
1 parent 2026ed1 commit 53f6bf1

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

wasm_apps/tinygo/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ func getPinLED() uint
3030

3131

3232

33-
const LED uint = 19
33+
const LED uint = 13
3434

3535
func setup() {
3636
pinMode(LED, 1)

wasm_apps/tinygo/app.wasm

0 Bytes
Binary file not shown.

wasm_apps/tinygo/app.wasm.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ unsigned char app_wasm[] = {
3030
0x46, 0x0d, 0x02, 0x20, 0x00, 0x41, 0x80, 0x80, 0x04, 0x6a, 0x41, 0x00,
3131
0x3a, 0x00, 0x00, 0x20, 0x00, 0x41, 0x01, 0x6a, 0x21, 0x00, 0x0c, 0x01,
3232
0x0b, 0x0b, 0x10, 0x00, 0x1a, 0x0f, 0x0b, 0x00, 0x0b, 0x07, 0x00, 0x10,
33-
0x06, 0x10, 0x08, 0x00, 0x0b, 0x24, 0x00, 0x41, 0x13, 0x41, 0x01, 0x10,
34-
0x01, 0x03, 0x40, 0x41, 0x13, 0x41, 0x01, 0x10, 0x02, 0x41, 0xe4, 0x00,
35-
0x10, 0x03, 0x41, 0x13, 0x41, 0x00, 0x10, 0x02, 0x41, 0x84, 0x07, 0x10,
33+
0x06, 0x10, 0x08, 0x00, 0x0b, 0x24, 0x00, 0x41, 0x0d, 0x41, 0x01, 0x10,
34+
0x01, 0x03, 0x40, 0x41, 0x0d, 0x41, 0x01, 0x10, 0x02, 0x41, 0xe4, 0x00,
35+
0x10, 0x03, 0x41, 0x0d, 0x41, 0x00, 0x10, 0x02, 0x41, 0x84, 0x07, 0x10,
3636
0x03, 0x0c, 0x00, 0x0b, 0x00, 0x0b, 0x37, 0x01, 0x02, 0x7f, 0x41, 0x00,
3737
0x20, 0x00, 0x6b, 0x21, 0x04, 0x02, 0x40, 0x03, 0x40, 0x20, 0x02, 0x20,
3838
0x03, 0x47, 0x04, 0x40, 0x20, 0x03, 0x20, 0x04, 0x46, 0x0d, 0x02, 0x20,

0 commit comments

Comments
 (0)