×

With the recent surge in Omicron cases, shipping may be slower than stated times. We are working to build, ship and respond to everything as quickly as possible. Please see all COVID-19 updates here. Thank you for your continued support.

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() {

    Serial.begin(9600);

    }

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