//Savannah Barkley 
//Mini- Synthesizer 
// Materials : Arduino, switches, potentiometers, pink LED, copper sheet metal, matte board, chrome spray paint
 
void loop()                    
{   
    long start = millis();    //get time since Arduino began running current program
 
    //read sensors and switches 
    readSensors();
    readUpButtonAndDebounce();
    readDownButtonAndDebounce();
       
    //setup for the switches 
    int sw1 = digitalRead(5); //label which pin the switches are connected to 
    int sw2 = digitalRead(7);
   
    Serial.println(pointofbeing);
    
    //Set the next state to Touch if a touch is sensed
    //200 is an arbitrary number, will depend on the CapSense sensor
    if(cs_4_2.capacitiveSensor(30) > 200)    
        state = TOUCH;
  

 
Mini Arduino Synth
Published:

Mini Arduino Synth

Synthesizer project created using Arduino for a course at Rhode Island School of Design. The project includes a capacitive sensor, speaker, two p Read More

Published: