Arduino code for the Story Portal