Documentation ¶
Overview ¶
Package cmd contains tools.
Visit https://github.com/google/periph/blob/master/cmd/README.md for more information about how to use the tools provided.
Directories ¶
Path | Synopsis |
---|---|
apa102 writes to a strip of APA102 LED.
|
apa102 writes to a strip of APA102 LED. |
bmxx80 reads environmental data from a BMP180/BME280/BMP280.
|
bmxx80 reads environmental data from a BMP180/BME280/BMP280. |
gpio-list prints out the function of each GPIO pin.
|
gpio-list prints out the function of each GPIO pin. |
gpio-read reads a GPIO pin.
|
gpio-read reads a GPIO pin. |
gpio-write sets a GPIO pin to low or high.
|
gpio-write sets a GPIO pin to low or high. |
headers-list prints out the headers as found on the computer and print the functionality of each pin.
|
headers-list prints out the headers as found on the computer and print the functionality of each pin. |
i2c-io communicates to an I²C device.
|
i2c-io communicates to an I²C device. |
i2c-list lists all I²C buses.
|
i2c-list lists all I²C buses. |
ir reads from an IR receiver via LIRC.
|
ir reads from an IR receiver via LIRC. |
led reads the state of a LED or change it.
|
led reads the state of a LED or change it. |
lepton captures a single image, prints metadata about the camera state or triggers a calibration.
|
lepton captures a single image, prints metadata about the camera state or triggers a calibration. |
onewire-list lists all onewire buses and devices.
|
onewire-list lists all onewire buses and devices. |
periph-info prints out information about the loaded periph drivers.
|
periph-info prints out information about the loaded periph drivers. |
periph-smoketest runs all known smoke tests.
|
periph-smoketest runs all known smoke tests. |
spi-io writes to an SPI port data from stdin and outputs to stdout or writes arguments and outputs hex encoded output.
|
spi-io writes to an SPI port data from stdin and outputs to stdout or writes arguments and outputs hex encoded output. |
spi-list lists all SPI ports.
|
spi-list lists all SPI ports. |
ssd1306 writes to a display driven by a ssd1306 controler.
|
ssd1306 writes to a display driven by a ssd1306 controler. |
thermal reads the state of thermal sensors exposed via sysfs.
|
thermal reads the state of thermal sensors exposed via sysfs. |
tm1637 writes to a digits LED display.
|
tm1637 writes to a digits LED display. |
Click to show internal directories.
Click to hide internal directories.