Coding with No Electricity

A lot of example code for PID here: