Sorry I did not get it from the very fist time. Reading that tutorial found out about the INPUTPULLUP mode, that saves you 1 line of code BTW.
Sorry I did not get it from the very fist time. Reading that tutorial found out about the INPUTPULLUP mode, that saves you 1 line of code BTW.