SparkFun will be closed Nov 26th and 27th for the Thanksgiving holiday. Orders placed after 2:00pm MT on the 25th will ship out Monday the 30th.

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 :(