Documentation ¶
Index ¶
- Constants
- Variables
- func Delay(ms int64)
- func DelayMicroseconds(us int64)
- func DelayMicrosecondsSched(us int64)
- func DelayShed(ms int64)
- func Micros() int64
- func Millis() int64
- func ShiftIn(dataPin, clockPin Pin, bitOrder byte) byte
- func ShiftOut(dataPin, clockPin Pin, bitOrder, value byte)
- type Pin
Constants ¶
View Source
const ( LOW = iota HIGH )
View Source
const ( INPUT = iota OUTPUT PULL_OFF PULL_DOWN PULL_UP PWM_OUTPUT GPIO_CLOCK SOFT_PWM_OUTPUT SOFT_TONE_OUTPUT PWM_TONE_OUTPUT )
View Source
const ( LSBFIRST = iota MSBFIRST )
View Source
const ( CHANGE FALLING RISING )
View Source
const ( MMAP_BLOCK_SIZE = 4096 DEV_GPIO_MEM = "/dev/gpiomem" DEV_MEM = "/dev/mem" SYS_SOC_RANGES = "/sys/firmware/devicetree/base/soc/ranges" )
Variables ¶
Functions ¶
func DelayMicroseconds ¶
func DelayMicroseconds(us int64)
func DelayMicrosecondsSched ¶
func DelayMicrosecondsSched(us int64)
Types ¶
Click to show internal directories.
Click to hide internal directories.