🔭 Setup¶

Tip

If you work with another hardware, please tell us 🤗

Raspberry Pi¶

Note

Tested on Raspberry Pi 2, and 3.

  1. Ensure that ttyAMA0 is not used for serial console access. Edit the file /boot/cmdline.txt to remove all name-value pairs containing ttyAMA0.

  2. Add the user to the dialout group:

    sudo usermod -a -G dialout $USER
    
  3. Reboot.

Beagle Bone¶

Note

The part of the documentation was taken from luopio/py-thermal-printer , and has not been tested.

# Mux settings
echo 1 > /sys/kernel/debug/omap_mux/spi0_sclk
echo 1 > /sys/kernel/debug/omap_mux/spi0_d0