add NELEMENTS macro
make IO lines match current hardware definition
add Arduino IDE keyword.txt
add analogRead()
fix tail