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

Search:

Type: Posts; User: kd5rxt-mark

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. A simpler countdown timer

    @Bastiaan:

    I would suggest a major simplification. Note that I am not somewhere where I can actually test this on a Teensy, so this is all "conceptual" off the top of my head. Normally, I don't...
  2. @Muiota: That's exactly the tone sound that I...

    @Muiota:

    That's exactly the tone sound that I was getting in my updated TeensyMIDIPolySynth. The fix that Frank B pointed out in P#21 (included in Teensyduino 1.54b7) successfully fixed the...
  3. Replies
    7
    Views
    204

    Disconnect everything except the Teensy & the Audio Adapter - nothing else !!

    Again, did you *remove* all other *hardware* connections ?? Just "unassigning pins" is a *software* function & does not remove any potential *hardware* conflicts.

    Please understand that I'm not...
  4. @djex81: The third parameter that you are...

    @djex81:

    The third parameter that you are passing into the MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI) macro specifies & holds the return of your default MIDI object name, which can...
  5. Replies
    521
    Views
    7,769

    NM . . . bad stuff posted earler . . . Mark J...

    NM . . . bad stuff posted earler . . .

    Mark J Culross
    KD5RXT
  6. Replies
    8
    Views
    168

    Includes for the different devices: #include...

    Includes for the different devices:


    #include <USBHost_t36.h>
    #include <MIDI.h>


    Declaring the different devices (I threw the hub in there just in case I decided to connect a USB hub on the...
  7. Replies
    8
    Views
    168

    I think the short answer is yes. Other than...

    I think the short answer is yes. Other than declaring the use of the specific devices (usb, usbhost, midi) & making calls using the specific device names [usb.sendNoteOn(), usbhost.sendNoteOn(),...
  8. Replies
    7
    Views
    204

    @DeMoeP: Did you try connecting *only* the...

    @DeMoeP:

    Did you try connecting *only* the Teensy & the Audio Adapter together - with absolutely no other hardware ?? Running the WaveFilePlayer code with that simple setup would be a useful...
  9. Replies
    8
    Views
    168

    @blakeAlbion: I am not familiar with the...

    @blakeAlbion:

    I am not familiar with the specific piece of equipment that you called out (Waldorf Blofeld), but maybe if I describe how portions of my updated TeensyMIDIPolySynth have been...
  10. Replies
    139
    Views
    3,726

    @CoreyCoop: My evidence is only...

    @CoreyCoop:

    My evidence is only circumstantial, but after adding the fix to startup.c manually (to remedy freezes on the latest version of my TeensyMIDIPolySynth that I'm tinkering with), I have...
  11. You did not show your wiring, but from your code,...

    You did not show your wiring, but from your code, Im going to assume that you have the 5 buttons wired to pins 0-4 & the 5 LEDs wired to pins 5-9.

    I did not load your sketch into a Teensy, nor did...
  12. Replies
    521
    Views
    7,769

    I missed those !! Obviously hidden right in...

    I missed those !! Obviously hidden right in plain sight !!

    Mark J Culross
    KD5RXT
  13. Replies
    521
    Views
    7,769

    Doesn't look like MicroMod has any hardware debug...

    Doesn't look like MicroMod has any hardware debug capability available in their pin defiitions.

    Mark J Culross
    KD5RXT
  14. @Iain: The change that I suggested is not...

    @Iain:

    The change that I suggested is not specific either to Teensy, nor to USB MIDI. The switch statement (as originally written) uses the current value of the "state" variable to decide what to...
  15. Iain: Welcome to the forum !! One quick way...

    Iain:

    Welcome to the forum !! One quick way to make it so that your sketch only sends the CC message when a button press is detected would be to add the following lines (highlighted in RED):

    ...
  16. I am not familiar with that particular adafruit...

    I am not familiar with that particular adafruit product, but is appears to be a battery charger only . . . it does not provide a regulated DC output for powering devices like the Powerboost 1000C. ...
  17. Replies
    148
    Views
    9,350

    Good for a chuckle . . . but still probably...

    Good for a chuckle . . . but still probably better than "passive breaking" or even "inactive breaking"!!

    Mark J Culross
    KD5RXT

    P.S. Paul: sorry for polluting this thread !! MJC
  18. Replies
    148
    Views
    9,350

    "soolder"

    On the <Audio Adapter> page, under the first picture, it says "Two of these 14x1 pins can be used to easily soolder the Teensy 3.x and audio board together."
  19. @Jeroen: The Teensy 4.0 is not 5V tolerant, so...

    @Jeroen:

    The Teensy 4.0 is not 5V tolerant, so running the display from a higher voltage than the Teensy runs the real risk of damage to the Teensy. Much better to run both from the same supply,...
  20. Replies
    298
    Views
    20,324

    In case anyone in the future stumbles across my...

    In case anyone in the future stumbles across my earlier question & is having the same problem, the solution to getting the resistive touchscreen to work just like the capacitive touchscreen did for...
  21. @Jeroen: If it works for your project, I would...

    @Jeroen:

    If it works for your project, I would recommend that you look into the Adafruit <2500 mAh battery>+ Adafruit <Powerboost 1000>. With this combo, the updated version of my...
  22. Replies
    6
    Views
    180

    @Maes2ro: I have not created any actual...

    @Maes2ro:

    I have not created any actual projects with the Ethernet stuff yet (it's on my "playlist", but has not quite bubbled to the top), but my quick read seems to concur that you have to add...
  23. Replies
    6
    Views
    180

    @Maes2ro: Maybe this

    @Maes2ro:

    Maybe this <thread> . . . hope that helps !!

    Mark J Culross
    KD5RXT
  24. Replies
    298
    Views
    20,324

    Having trouble w/ RA8875 (TFTM070-5) w/ resistive touch panel

    Particulars:
    Arduino IDE Configuration (last built with Arduino 1.8.13 + Teensyduino 1.54-beta7):
    Tools/Board: "Teensy 4.1"
    Tools/USB Type: "Serial + MIDI"
    Tools/CPU...
  25. Replies
    3
    Views
    133

    @M4ngu: If I am understanding correctly what...

    @M4ngu:

    If I am understanding correctly what you are after, here's a short sketch to demonstrate an approach that I believe matches what you are needing. You will create an array containing the...
  26. Replies
    2
    Views
    101

    Ahsan: As Frank B said, a brand new Teensy is...

    Ahsan:

    As Frank B said, a brand new Teensy is setup as a RAWHID device (no serial port), so you will need to program it the very first time using the button. It isn't clear from your description...
  27. Yes, USBHost_t36 works very well on a Teensy 4.1....

    Yes, USBHost_t36 works very well on a Teensy 4.1. I have used it in the original version of my TeensyMIDIPolySynth (hardware pots, switches, pushbuttons, & LEDs), as well as in the enhanced version...
  28. How much delay did you have to add ?? Maybe you...

    How much delay did you have to add ?? Maybe you could try just reading one switch each time thru the loop & use millis() instead of delay() to tell you when it is time to read the next switch. Use...
  29. Replies
    139
    Views
    3,726

    I can confirm that the freeze in my updated...

    I can confirm that the freeze in my updated TeensyMIDIPolySynth (both the full version & the pared down version) no longer occurs after making Frank B's code change (as posted/clarified by...
  30. Replies
    139
    Views
    3,726

    UdoZ / WMXZ / Frank B / Paul: I have also been...

    UdoZ / WMXZ / Frank B / Paul:

    I have also been seeing a "temporary freeze" in the current version of my TeensyMIDIPolySynth that I have mostly converted from hardware control (pots / switches /...
  31. May have identified one cause . . .

    @KurtE:

    Thanks again for your continued testing. I finally found time for my own further testing (by combining my small test program with the simple code in some of the RA8875 Examples), & in...
  32. @KurtE: Thanks for your reply !! I should...

    @KurtE:

    Thanks for your reply !! I should have noted that I'm running Arduino 1.8.13 + Teensyduino 1.54-b7 under Win10pro 64-bit. The RA8875 library is in "C:\Program Files...
  33. First character written to RA8875 after startup is not printed to the screen

    I'm working on an enhancement to my TeensyMIDIPolySynth which now uses the RA8875 TFT (ER-TFTM070-5) for the all-digital (no more pots / switches / buttons / LEDs !!) user interface. I am having...
  34. @RichardFerraro: Going on the assumption that...

    @RichardFerraro:

    Going on the assumption that the RTS/CTS convention is being used/followed (RTS as an output & CTS as an input), you should connect pin 19 (RTS) on each Teensy to pin 18 (CTS) on...
  35. Glad I could help in a small way. Pete & others...

    Glad I could help in a small way. Pete & others kindly helped me when I first got started with Teensy, so I try to pay my appreciation forward to others in a similar way whenever I can.

    Mark J...
  36. LikeToBuildStuff: Dang it !! Sorry, I wasn't...

    LikeToBuildStuff:

    Dang it !! Sorry, I wasn't at my primary PC when I typed my first reply. I'll use the excuse that I'm old & something else, but I'm having trouble remembering what the other...
  37. @LikeToBuildStuff: You are essentially correct...

    @LikeToBuildStuff:

    You are essentially correct that the line that you attempted to "reuse" is only used to set things up. The line that you pointed out is a variable declaration (CCID[A_PINS])...
  38. Trevor: Yes, what you describe (4 addr pins...

    Trevor:

    Yes, what you describe (4 addr pins common to all five MUXs & 1 I/O pin per each mux for a total of 9 pins) is the most straightforward way to connect your MUXs. I think you will find...
  39. @trevorbryden (Trevor): Yes, for your 21...

    @trevorbryden (Trevor):

    Yes, for your 21 inputs, 2 x 74HC4067s would cover your need, leaving some additional expansion if/as needed. You'll need to assign 4 pins for the addressing (common to...
  40. Trevor: I forgot one more bit of advice: If...

    Trevor:

    I forgot one more bit of advice: If you aren't already too committed to your T3.5, use a T4.1/T3.6 & get the cable that allows you to connect external MIDI devices (keyboards, etc.) to the...
  41. Trevor: In my

    Trevor:

    In my <TeensyMIDIPolySynth> project, I had 48 x 50K pots + 42 pushbuttons, all sampled by the T4.1 using the 74HC4067 MUXs. The MUXs require one analog input/output & 4 digital addressing...
  42. Replies
    15
    Views
    311

    Frank: Yup, your 180 test confirms that (as...

    Frank:

    Yup, your 180 test confirms that (as you put it) "biomechanics" is not a major contributing factor . . . well done !!

    My current project uses a millis() comparison set at 200ms (in...
  43. Replies
    15
    Views
    311

    Frank: I can imagine that it would be almost...

    Frank:

    I can imagine that it would be almost impossible to keep the pressure on the display constant as the rectangle is drawn. Would you expect a different result if the test was run four times,...
  44. Steve: Just to be sure (not wanting to take...

    Steve:

    Just to be sure (not wanting to take anything for granted), you typed "changing the ts CS_PIN from Teensy 2 to 5", but I'm fairly certain that you meant "changing the ts CS_PIN from Teensy...
  45. @SteveW: I happen to have a project on my...

    @SteveW:

    I happen to have a project on my workbench at the moment using the Teensy4.0 + PJRC ILI9341 (+ Audio Shield, which you don't have, so I know that we are not completely comparing apples to...
  46. Replies
    86
    Views
    5,782

    Teensyduino 1.54beta7 installation under Windows10pro 64-bit

    @PaulStoffregen:

    Just installed on Windows10pro 64-bit. Received a warning that the app was unrecognized, but simply clicked on "Run anyway". No problems w/ installation. With Arduino not...
  47. Replies
    7
    Views
    282

    So, now that the simple solutions have been ruled...

    So, now that the simple solutions have been ruled out, how about another possibility: use an analog circuit (comparater, op-amp(s), etc.) to detect the presence of audio above some threshold, then...
  48. Replies
    7
    Views
    282

    @normanras: Your hunch is generally correct:...

    @normanras:

    Your hunch is generally correct: the envelope processing is typically initiated with a call to envelope.noteOn() & (optionally) terminated with a call to envelope.noteOff(). Does your...
  49. Replies
    5
    Views
    342

    As one possibility for avoiding the problem of...

    As one possibility for avoiding the problem of distinguishing between "live or Memorex" (showing my age), you could have the Teensy randomly generate & display a combination of a few words from a...
  50. Replies
    1
    Views
    238

    I whole-heartedly second the "thank-you" & add my...

    I whole-heartedly second the "thank-you" & add my appreciation to that expressed by the OP !!

    Mark J Culross
    KD5RXT
Results 1 to 50 of 230
Page 1 of 5 1 2 3 4