alternate input processing functions on arduino