User input in arduino. The article gives a complicated example