Documentation ¶
Overview ¶
Package rpi provides Raspberry Pi (including A+/B+) support. The following features are supported on Linux kernel 3.8+
GPIO (digital (rw)) I²C LED W1 - make sure that w1-gpio kernel module is loaded. If you wish to use it with sensors directly (e.g. DS18B20 etc)
make sure to disable respective kernel modules (e.g. w1-therm) in /etc/modprobe.d/blacklist.conf.
Index ¶
Constants ¶
View Source
const ( // PWMDefaultPolarity represents the default polarity (Positve or 1) for pwm. PWMDefaultPolarity = embd.Positive PWMDefaultDuty = 500000000 PWMDefaultPeriod = 1000000000 PWMMinPulseWidth = 1090 PWMMaxPulseWidth = 1000000000 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.