#!/bin/bash
cd ~/Desktop/PIXL
#
source venv/bin/activate
#
echo "Reads a four foot PIXL soil sensor using USB interface, and posts data to website"
echo "to see the results, invoke this website (account demo, pw demo): https://map.farmx.co/pixl/7/"
echo "-------- invoking python script demo.py"
/usr/bin/open -a "/Applications/Google Chrome.app" 'https://map.farmx.co/pixl/7/' &
python demo.py /dev/tty.usbserial-FT94B9LS data/demo 0
