Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: grayfx

Search: Search took 0.00 seconds.

  1. figured it out, knowing taken pins was the key!!!

    OK guys, just knowing that those pins were dedicated to audio or wire or otherwise TAKEN (I don't feel too incredibly stupid now as it seems that should be pretty obviously noted on the audio shield...
  2. Thanks Michael!

    Thanks Michael!
  3. Hi Paul, good to know. I need 4 digital outs to...

    Hi Paul, good to know. I need 4 digital outs to control relays and one digital in (pushbutton to start sequence). Which would you recommend? TIA
  4. I appreciate all the help gents! QUICK question:...

    I appreciate all the help gents! QUICK question: pin 23 goes HIGH when any audio is being played. Design feature or broken TEENSY? Paul this also happens in your SamplePlayer sketch. Also I'm seeing...
  5. Getting better with your help sir! ...

    Getting better with your help sir!


    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include <Bounce.h>
    #include <elapsedMillis.h>
  6. just quick update: commenting out everything but...

    just quick update: commenting out everything but audio still turns on LED on pin 23...dunno why:



    void loop() {
    // Update the button object
    button0.update();

    delay(100);
  7. NOOB here: dumped the delay, thx for the tip. I...

    NOOB here: dumped the delay, thx for the tip. I need all these events to happen in a specifically timed sequence with precise delays in between them. Right now with the code below I have pin2...
  8. ....just switched from pin0 to pin2...working...

    ....just switched from pin0 to pin2...working fine now...crossing fingers...
  9. Hi defragster, thank you for the help! I...

    Hi defragster, thank you for the help!

    I started with the audio example file SamplePlayer, which has the loop where 5 buttons are being monitored using the "fallingedge" state. I flipped it back...
  10. single button starts audio and relays in timed sequence...BUGS!

    I. AM. A. NOOB.

    I'm missing something very basic and stupid here I know but I would love it if somebody could point that error out.

    Code is below. TEENSY3.1 using the TEENSY audio shield....
Results 1 to 10 of 10