Skip to content

Latest commit

 

History

History
34 lines (30 loc) · 883 Bytes

README.md

File metadata and controls

34 lines (30 loc) · 883 Bytes

py-clicker

Raspberry Pi score counter for Canne de combat

Setup

Version: Rasbian Buster Lite

Setup:

  • Configure Wifi connection / autologin in raspi-config
  • Install the following packages:
  • Configure clicker_config.yaml
  • Copy *.py/*.yaml to your home directory
  • Add this line in /etc/rc.local before exit 0:
    sudo pigpiod
  • Add this line in /boot/config.txt
    dtparam=i2c_arm_baudrate=1000000
  • Configure WiFi in /etc/wpa_supplicant/wpa_supplicant.conf

  • Add this to the end of your .profile:

    # Run clicker.py only if not connected through SSH
    if [ -z "$SSH_CLIENT" ] || [ -z "$SSH_TTY" ]; then
        python3 /home/pi/py-clicker/clicker.py
    fi
  • Reboot