Arduino firmware for AOA Indexer project.