Documentation ¶
Overview ¶
Package jetson contains the Gobot adaptor for the Jetson Nano.
For further information refer to Jetson README: https://github.com/hybridgroup/gobot/blob/release/platforms/jetson/README.md
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Adaptor ¶
type Adaptor struct { *adaptors.DigitalPinsAdaptor *adaptors.PWMPinsAdaptor *adaptors.I2cBusAdaptor *adaptors.SpiBusAdaptor // contains filtered or unexported fields }
Adaptor is the Gobot adaptor for the Jetson Nano
func NewAdaptor ¶
func NewAdaptor(opts ...interface{}) *Adaptor
NewAdaptor creates a Jetson Nano adaptor
Optional parameters:
adaptors.WithGpiodAccess(): use character device gpiod driver instead of sysfs adaptors.WithSpiGpioAccess(sclk, ncs, sdo, sdi): use GPIO's instead of /dev/spidev#.# Optional parameters for PWM, see [adaptors.NewPWMPinsAdaptor]
Click to show internal directories.
Click to hide internal directories.