Arduino code for Frankie.