mash-sensor-tof-pc/run.bash

10 lines
254 B
Bash

#!/bin/bash
# Set the working directory
cd /home/pi/mash-sensor-tof-pc
# Activate the Python virtual environment
source /home/pi/mash-sensor-tof-pc/.env/bin/activate
# Run the Python script
python /home/pi/mash-sensor-tof-pc/src/simple_hue_counter.py