* Tested circuit using Attiny85 and 3mm IR LED emitter and receiver
* GPIO assignments (BCM)
power =21 #shutdown button
center=20
up =26
down... =13
left =16
right =19
rpmPin = 6 #input pin to sense RPM
escPin = 12 #output to the ESC
#read PWM value = 15 (/dev/ttyAMA0)
* Test script before adding it to startup
* unzip script in your documents folder
/home/pi/Documents/mlmCnc/main.py
* Add following to rc.local (sudo vi /etc/rc.local)
sudo pigpiod
sudo /home/pi/Documents/mlmCnc/main.py &
*Make sure serial port TTYAMA0 is available
*Make sure pigpio libraries are installed