Arduino code for an arpeggiator (using 3 photoresistors + 1 pot) and a drum machine (using two pressure sensors)