SparkFun will be closing today at 12pm MT for a company outing. All orders placed before 2pm MT will still ship out same-day. Thanks!

Member #230259

Member Since: June 4, 2011

Country: United States

  • I’m an idiot. But just in case there are others out there… the below code works fine. Apologies for the funky formatting…

    const int s1_pin = 13; const int s2_pin = 12;

    void setup() {



    void loop() { int s1 = digitalRead(s1_pin); int s2 = digitalRead(s2_pin);

    Serial.print( “S1 = ”); Serial.print( s1 ); Serial.print( “; S2 = ”); Serial.println( s2 ); delay(250); }

  • Anyone have some arduino code for this device they’d be willing to share?

No public wish lists :(