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

Search:

Type: Posts; User: nicnut

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. OK got it. Thanks for the guidance. take care. ...

    OK got it. Thanks for the guidance. take care.

    Nick
  2. Hey el_supremo, I had to put this project...

    Hey el_supremo,

    I had to put this project down for a week as I had a lot of work, but just got back on it.

    So I copied your if statement and put it into my code and it totally works!

    Thank...
  3. Thank you el_supremo / Pete, I think I...

    Thank you el_supremo / Pete,

    I think I understand. At least the logic you explained makes sense. I'll try and express that in some code. My weaknesses in coding are arrays. And I just learned...
  4. Hi, OK I'm trying to modify the Multikey...

    Hi,

    OK I'm trying to modify the Multikey Keypad example.

    With the code I came up with, If I press the 1st button I get a result. But If I press the 2nd button I only get a result if the 1st...
  5. OK now I'm taking a look at the multi key example...

    OK now I'm taking a look at the multi key example in Keypad. I think that will do what I need. I'll try and figure this out.
  6. OK now I know why you are named el_supremo. Your...

    OK now I know why you are named el_supremo. Your suggestions have totally worked.

    I added a function "void keypadEvent" from the EventKeypad example. It has a switch in it. I basically added my...
  7. I also tried this out. I thought this might work...

    I also tried this out. I thought this might work to get a 0 value when you are not pressing a key, but didn't work



    void loop() {

    char key = keypad.getKey();

    if (key != NO_KEY)
    {
  8. Hi @el_supremo Thank you for taking a look....

    Hi @el_supremo

    Thank you for taking a look. Damn, I knew it was ==, just didn't check that.

    I corrected some of the things you pointed out and I am getting way better results.

    Now when I...
  9. turning keypad example into midi controller button matrix

    Hi everyone.

    So I have been at it making a serious midi controller for a few months. There will be a lot of button switches on this controller and for my prototyping I am using some simple button...
  10. Hey everyone, I sat down with a expert coding...

    Hey everyone,

    I sat down with a expert coding friend of mine for a few hours yesterday. He streamlined the code I have and we trouble shooted this situation for several hours yesterday. We...
  11. Ok thanks @tonton81 I'll try and incorporate this...

    Ok thanks @tonton81 I'll try and incorporate this into the code and post what I come up with.
  12. Hi @tonton81, Thank you for going over that...

    Hi @tonton81,

    Thank you for going over that code for me. I think all the SPI stuff is fine. I think my issue has to do with the way I am coding it.

    For example, in myControlChange() if I send...
  13. Hi @tonton81, I thought I would just post the...

    Hi @tonton81,

    I thought I would just post the part of the code relevant to my question so it would be less code to parse through. But I will post the whole thing since you have these questions....
  14. ignoring incoming value if it's same as previous incoming value. Or LED freaks out!

    Hi everyone,

    I think it's mostly a coding question.

    I have had a lot of trouble figuring out how to send SPI hardware messages from a Teensy 3.6 to an Adafruit TLC5947 board to control RGB...
  15. Replies
    29
    Views
    1,568

    Hi everyone, I finally, after tons of hours,...

    Hi everyone,

    I finally, after tons of hours, am able to use the hardware SPI to control the LEDs using the TLC5947 board. Wow, that took awhile.

    I want to thank everyone for their input,...
  16. Replies
    6
    Views
    2,023

    Hi Po Ting, Thanks for the info. I got it to...

    Hi Po Ting,

    Thanks for the info. I got it to work!

    I'm having trouble controlling the LEDs, but I think I can figure that out, it's a coding issue.
  17. Replies
    6
    Views
    2,023

    Hi Po Ting, Can you post the example code...

    Hi Po Ting,

    Can you post the example code that worked for hardware SPI?

    I have been trying to figure out how to use the TLC5947 with hardware SPI and it is really difficult. Your post is...
  18. Replies
    29
    Views
    1,568

    @wcalvert, Thanks I will try the...

    @wcalvert, Thanks I will try the digitalWriteFast() thing. I would like to figure out the hardware SPI thing too. I just got a new Teensy and I'm going to start over with this and just try and figure...
  19. Replies
    29
    Views
    1,568

    @wcalvert it works easily with the Adafruit...

    @wcalvert it works easily with the Adafruit example code and software SPI. It's just slower.

    I hope I beat you to it, I've been at this for weeks now! lol
  20. Replies
    29
    Views
    1,568

    defragster, thank you for your help. I...

    defragster,

    thank you for your help. I changed the pins and tried the test patch again. No luck :(

    I tried it with
  21. Replies
    29
    Views
    1,568

    Hey everyone, I'm still working on this...

    Hey everyone,

    I'm still working on this issue. I am giving up on that library above for now because I can't get it the example code to compile.

    I did find a thread on this forum which is...
  22. Replies
    29
    Views
    1,568

    Hi defragster, Ok I'm going to post the...

    Hi defragster,

    Ok I'm going to post the original example code and the error test as well.

    example:



    /*
    TLC5947 Control Library
  23. Replies
    29
    Views
    1,568

    Hi thebigg Ok I changed the line you specified...

    Hi thebigg

    Ok I changed the line you specified to



    const int TLC5947::_tlc_count = 1; // Change to reflect number of TLC chips
  24. Replies
    29
    Views
    1,568

    Hey everyone, I am running into an issue that...

    Hey everyone,

    I am running into an issue that I can't really figure out. It seems simple though.

    I downloaded this TLC5947 Library from here:

    https://github.com/ramonaoptics/TLC5947

    I...
  25. Replies
    29
    Views
    1,568

    Hey wcalvert, Wow this library you found is...

    Hey wcalvert,

    Wow this library you found is nice. And in the example he's using the same chip in the LED driver I have, TLC5947.

    I will give this a try and let you know how it works out.
    ...
  26. Replies
    29
    Views
    1,568

    Hi Oddson. Thanks for the input. Right now...

    Hi Oddson.

    Thanks for the input. Right now the midi code and sensors work fine. You are probably right in that it can be optimized to work better/faster. But in my previous version of this code...
  27. Replies
    29
    Views
    1,568

    Hi wcalvert Thank you for the reply. Yes, the...

    Hi wcalvert

    Thank you for the reply. Yes, the problem is not with the Teensy, as when i delete the code related to the Adafruit LED driver everything works fine. I should change the name of this...
  28. Replies
    29
    Views
    1,568

    Hi all, I am just updating you all to...

    Hi all,

    I am just updating you all to something else that I tried. It didn't work, but I am adding it here to document it and in case it inspires someone to think of something else I should try. ...
  29. Replies
    29
    Views
    1,568

    I'm still trying to figure out what's going on...

    I'm still trying to figure out what's going on with this code issue (hopefully that's what it is)

    Because I am using SCL0 and SDA0 for the LED displays, and that happens on the same pins that are...
  30. Replies
    29
    Views
    1,568

    Hi, Yes my post was pretty vague. Sorry about...

    Hi,

    Yes my post was pretty vague. Sorry about that. I am having a hard time articulating what's going on.

    I made a video that will help a little bit. Here is a link:
    ...
  31. Replies
    29
    Views
    1,568

    Teensy 3.6 is very slow for some reason...

    Hi,

    First of all, I want to thank everyone here for their guidance. I've had a few issues with the project I'm working on and all have been resolved, EXCEPT for the new one I am encountering now....
  32. @defragster Yes that's a good point. Right now...

    @defragster

    Yes that's a good point. Right now nothing is connected to my Teensy except that board and 4 LED/button switches. The board is powered from the Vin connection on the Teensy.

    It's...
  33. @defragster Yes this makes a lot of sense! If...

    @defragster

    Yes this makes a lot of sense! If I can replace that resistor with a smaller value I believe the LEDs will be brighter. OK I'll try and figure out how to do that. Thanks for pointing...
  34. Update: Ultimately what I am creating is a...

    Update:

    Ultimately what I am creating is a midi controller. I incorporated the code from this PWM breakout board and LED control into my existing MIDI controller code.

    Before I uploaded I...
  35. Hey Frank B. Thanks for the reply! Wow, I'm...

    Hey Frank B.

    Thanks for the reply! Wow, I'm impressed that you saw the transposed 4 and 7 in: Adafruit_TLC5947 tlc = Adafruit_TLC5947(NUM_TLC5947, clock, data, latch);

    I would have never seen...
  36. Eliminate LED fast flickering from PWM breakout board and Teensy 3.6

    Hi,

    This is a follow up to a previous post:

    https://forum.pjrc.com/threads/56834-Best-way-to-expand-the-number-of-Digital-Outputs-on-Teensy-3-6

    I am trying to get more digital outputs from a...
  37. Thanks @PaulStoffregen. I might not need that...

    Thanks @PaulStoffregen. I might not need that much power. The vin pin is working pretty well for me.

    This is the switch I'm using
    ...
  38. OMG. This is one of the best forums ever. SO...

    OMG. This is one of the best forums ever. SO much good information here. Thank you all.

    I have 16 RGB illuminated button switches and I want the extra digital outputs for all those LEDs, so 48...
  39. Hi luni, Great. Thank you. That adafruit...

    Hi luni,

    Great. Thank you. That adafruit breakout board might be the way to go. I'll study up on it.
  40. Best way to expand the number of Digital Outputs on Teensy 3.6

    Hi,

    I am planning on making a Midi Controller that uses a Teensy 3.6. I will be using a lot of Analog inputs and Digital inputs.
    I also have a lot of RGB Leds, with each color, Red, Green and...
  41. @defragster Ok got it. thanks. I will try and...

    @defragster Ok got it. thanks. I will try and grab it from the Vin pin and see how that goes.
  42. powering a LED display with 5v using a Teensy 3.6

    Hi,

    I have two of these LED displays that I want to connect to a Teensy 3.6 and power. They require 5v

    https://www.adafruit.com/product/1270

    Right now I am just powering them with 3.3 and...
  43. Kirazvora, wow that sounds amazing. Please post...

    Kirazvora, wow that sounds amazing. Please post some video or images. I'd love to see what you do with this.

    Thanks, Nick
  44. Hi Kirazvora, I learned from someone else on...

    Hi Kirazvora,

    I learned from someone else on this forum that it's good to put a small capacitor between the power and ground. As a matter of fact, for midi controllers, if you have a potentiometer...
  45. Midi Controller Completed!Thank you Forum Members for your Guidance with my Project.

    Hi,

    I want to thank the community in this forum for guidance and suggestions while I was creating my recently completed Midi Controller. I definitely could not have made it without the help and...
  46. Replies
    12
    Views
    1,915

    Also, one more thing. I am putting the capacitor...

    Also, one more thing. I am putting the capacitor as close to the potentiometer as possible (a friend told me this is the best way to avoid noise) between the wiper and ground, then I am putting a...
  47. Replies
    12
    Views
    1,915

    Hi, Theremingenieur thanks for your input....

    Hi,

    Theremingenieur thanks for your input. Actually in my experimenting and trouble shooting today I came across another post where you suggested someone put a small capacitor between the wiper...
  48. Replies
    12
    Views
    1,915

    Hi Oddson, Thanks for your reply. If you do...

    Hi Oddson,

    Thanks for your reply. If you do create some code for noobs that using the RAR library with potentiometers for USB MIDI I'd love to see it because that is exactly what I am trying to...
  49. Replies
    12
    Views
    1,915

    Hi, So the code I was using before that...

    Hi,

    So the code I was using before that appeared to be fine actually has some serious issues. Oddson you are right, it’s the “wrong” way to do this.

    The code I’m using, which polls the state...
  50. Replies
    12
    Views
    1,915

    OK cool. Yeah, I am using a 10k Ohms resistor...

    OK cool. Yeah, I am using a 10k Ohms resistor pull down resistor. With an Arduino mega that seemed to be fine to get a 0 reading when not being used, but I couldn't achieve that with a Teensy so I...
Results 1 to 50 of 70
Page 1 of 2 1 2