mirror of
https://github.com/goplus/llgo.git
synced 2025-09-26 19:51:21 +08:00
14 lines
184 B
Go
14 lines
184 B
Go
package main
|
|
|
|
import (
|
|
_ "unsafe"
|
|
|
|
"github.com/goplus/lib/c"
|
|
)
|
|
|
|
//go:linkname WriteByte C.board_uart_write_char
|
|
func WriteByte(b byte)
|
|
|
|
//go:linkname sleep sleep
|
|
func sleep(c c.Int)
|