Update to latest protocol; create digital read and analog read blocks.

Also, replaced "set pin high" and "set pin low" with "digital write". Replaced "set pin input" and "set pin output" with "set pin as".