syntax mistakes

discharge resistor stuff
syntax mistakes

few more mistakes, arduino verify works after this commit