http://book.openmv.cc/example/02-Board-Control/pin-control.html