Handle digitalRead and analogRead callbacks
Getting commands form the right place