docs.rs failed to build saks-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
saks-0.1.1
SAKS hat for raspberry_pi
SAKS = Swiss Army Knife Shield for Raspberry Pi
How other library control GPIO
wiringpi system but uses the /sys/class/gpio interface rather than accessing the hardware directly(softPwmWrite)
sprintf(fName, "/sys/class/gpio/gpio%d/value", i)
- /sys/class/gpio: sysfs_gpio(deprecated), gpio(deprecated), maybe not working in pi4B
- /dev/gpiomem or /dev/gpiochip0: rppal, wiringpi, gpio-cdev
- /dev/pigpio and pigpio daemon process: pigpio
Some questions need to solve
- Why gpio access from /dev/gpiomem via mmap syscall is faster than
format!("/sys/class/gpio/gpio{}/active_low", gpio_num)
- Why gpio pin number has three encoding?(BOARD, BCM, wiringpi)
- About the onboard_led(/sys/class/leds/led0/) like arduino's LED_BUILTIN
BOARD, BCM and wiringpi encoding
My raspberry_pi notes
cli tools
CPU temperature
vcgencmd measure_temp
Remap caps to backspace
setxkbmap -option caps:backspace
Setup raspberry_pi
How to connect raspberry_pi without internet/display/GUI Desktop?
- put empty ssh file to SD card root directory in order to enable SSH on first time boot
- SSH to pi via ethernet cable or serial(RS-232 with RXD+TXD+GND, don't connect 5V pin!) port