Arduino code for my first project, a binary thermometer