Search results

  1. R

    Stop WAV files from queuing

    Yes useful advice, I'm trying to get my head around it slowly but surely. I am already finding that limitations to my understanding are causing issues... I am getting 'playWav1 is undefined in his scope' errors unless I also define each player object like this: AudioPlaySdWav playWav1...
  2. R

    Stop WAV files from queuing

    That's amazing, thank you! I was wondering if there was a way to do it with a loop so I could easily add players if necessary, but there are some tricks in here that are new to me... using break; in a FOR loop, I have only ever used those in a switch. That is very handy to know as I was...
  3. R

    Stop WAV files from queuing

    Thanks! I'm a novice coder and have never used else if before!!! if (!playWav1.isPlaying()) { playWav1.play(filename); } else if (!playWav2.isPlaying()) { playWav2.play(filename); } else if (!playWav3.isPlaying()) { playWav3.play(filename); } else if...
  4. R

    Stop WAV files from queuing

    Thanks for the tip! is this the most efficiant way to do this? if (findFreePlayer) { if (!playWav1.isPlaying()) { playWav1.play(filename); findFreePlayer = false; } if (!playWav2.isPlaying()) { playWav2.play(filename); findFreePlayer = false; }...
  5. R

    Stop WAV files from queuing

    Hi, I have a setup with 2 teensys, the first is the main controller and sends a number over serial (using easy transfer) after a button push to the other, which tells the second teensy which WAV file to play. I have to do this as the first is doing a lot of FastLED stuff and it wasn't playing...
  6. R

    Sending data between two Teensy 3.2s

    Amazing, thanks everyone :)
  7. R

    Sending data between two Teensy 3.2s

    Hi, I need to be able to send some simple data from one teensy 3.2 to another. This will be used to trigger actions, so it's not a stream of data, or very complex data. It could just be simple numbers, but strings would be handy. They would just be sent as a result of other actions, so i don't...
  8. R

    Teensy 3.1 DAC audio output

    Sorry to resurrect this thread again but it seems like a good place to ask the question. I want to use the talkie library which outputs to the DAC pin. Can this be used as a sound source with the Audio Board/Audio Library? ie can you use the DAC pin as a line-in device? Or am I thinking about it...
  9. R

    Teensy Audio and I2C serial converter for LCD screen

    It seems it was just a matter of finding the right library. This one worked - https://github.com/fdebrabander/Arduino-LiquidCrystal-I2C-library
  10. R

    Teensy Audio and I2C serial converter for LCD screen

    Sorry, I realized I wasn't pulling pin 11 to ground, so it is now running the scanner test correctly and it shows ACK on Addr 0x27 I'm not having any luck getting the LCD to work though, any advice much appreciated <added> what is happening now is that when I try to upload this hello world...
  11. R

    Teensy Audio and I2C serial converter for LCD screen

    Hi, I would like to get a Teensy Audio Board working together with LCD screen running over I2C with a Serial Converter board (https://www.amazon.co.uk/gp/product/B00K67Y4CM/). The LCD screen needs 5v so is there anything specific I need to do to get this working properly? I have both 5v and...
  12. R

    Help required using libraries inside classes

    Thanks Paul. It was actually using Bounce2.h that was the breakthrough (although there were several of my own mistakes at the root of the problems I was having). Having a simplified interface really helps us newbies :)
  13. R

    Help required using libraries inside classes

    Hi, I sorry I realise that this wasn't teensy related and I think I have received other good advice that will help me understand how to use pointers to solve this. Many thanks, Rob
  14. R

    Help required using libraries inside classes

    Hi, I am really struggling with instantiating objects inside other objects in general but in particular I am trying to get the bounce.h and FastLED libraries working. I'm starting with the bounce.h library as I feel it should be straight forward. Candlerack.h /* ========== CandleRack.h...
  15. R

    Talkie speech library

    This is all very interesting. I'm not really sure what your beta prop shield does, but without it, will I need something to compliment my audio board? I was planning on just plugging in amplified speakers at the moment. I'm not at my studio at the moment so haven't had a chance to test it out yet.
  16. R

    Talkie speech library

    That's amazing! Thanks so much, I can't wait to try it out :)
  17. R

    Talkie speech library

    Hi, I am interested in using the Talkie speech library on my Teensy / Audio board and wondered if that's possible? They state that it only works on 168 or 328 based Arduinos at 16MHz only, but I assume that's because less powerful chips would struggle. https://github.com/going-digital/Talkie...
  18. R

    Using individual push buttons to control individual LEDs on a ws2811 strip

    The button will light the assigned LED but might trigger actions that also feature other lights, or potentially also trigger sounds etc so it needs to be as flexible as possible. I will definitely be using the colour capability of the ws2811 strip.
  19. R

    Using individual push buttons to control individual LEDs on a ws2811 strip

    Thanks for your replies. Unfortunately I can't use a touch screen although that's a neat solution. I need physical buttons next to each LED. I like the idea of using MCP23017 port expanders. I've never used the i2c bus before. Is it straight forward enough to set the address pins? The other...
  20. R

    Using individual push buttons to control individual LEDs on a ws2811 strip

    Hi, I would like to control each individual LED on a ws2811 strip with its own push button. I have seen people talk about using a deconstructed keyboard to do this. Is that the best option? I have 50 LEDs that need their own switch. They will light for a specific time only, so I don't need a...
Back
Top