detour

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: New kit – not fully working? #10346
    detour
    Participant

    Boom! Thank you, working perfectly now.

    in reply to: New kit – not fully working? #10339
    detour
    Participant

    Yes, I have the library installed. I first tried with a BareConductive Touchboard and then with a Leonardo. Same results. Here’s the code:

    #include <EZExpander.h>

    // Create an EZExpander object
    EZExpander expander = EZExpander();

    void setup() {
    // put your setup code here, to run once:

    }

    void loop() {

    for(int i=20;i<=35;i++) {
    expander.digitalWrite(i, HIGH);
    }
    delay(1000);
    for(int i=20;i<=35;i++) {
    expander.digitalWrite(i, LOW);
    }
    delay(1000);
    }

Viewing 2 posts - 1 through 2 (of 2 total)