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

Search:

Type: Posts; User: kd5rxt-mark

Page 1 of 6 1 2 3 4

Search: Search took 0.01 seconds.

  1. Maybe try

    Maybe try <here>
  2. Replies
    13
    Views
    356

    Make a call to see if it exists & if so, use the...

    Make a call to see if it exists & if so, use the O_APPEND flag, otherwise (does not exist) use the O_CREATE flag ??

    Mark J Culross
    KD5RXT
  3. <This thread> may be helpful.

    Mark J Culross
    KD5RXT
  4. Maybe try ...

    Maybe try <this link> as a simple example, with explanations of not only how, but also what & why.

    Mark J Culross
    KD5RXT
  5. Replies
    162
    Views
    15,214

    @RJF: As recommended to you in the other...

    @RJF:

    As recommended to you in the other thread, your report needs a *specific* reference (URL, link, etc.) to where you see the incorrect information. Just trying to use " . . . even though all...
  6. Glad to be able to help !! Sorry, I don't know...

    Glad to be able to help !!

    Sorry, I don't know the answer for your follow-up question. If the error appears on a PJRC website, there's <this thread> where you can report it. If it's some other...
  7. Might try the following: ...

    Might try the following:


    analogReference(EXTERNAL);


    Mark J Culross
    KD5RXT
  8. Replies
    1
    Views
    238

    One possibility: define a variable [ start_millis...

    One possibility: define a variable [ start_millis = millis() ] to store the millis() value at the start of your ramp period. After each 100ms delay(), calculate how many millis have actually passed...
  9. Replies
    7
    Views
    730

    @frohr (Michal): I believe that the following...

    @frohr (Michal):

    I believe that the following would be the minimum required: RA8875_CS, RA8875_RESET, RA8875_MOSI, RA8875_SCLK, Power & Ground.

    Mark J Culross
    KD5RXT
  10. @kern: Please understand that I am not being...

    @kern:

    Please understand that I am not being critical . . . I really do want to try & help you to solve your problem !! You have stated that you have 576 LEDs. However, I still don't know how...
  11. @kern: You say that you have checked your...

    @kern:

    You say that you have checked your wiring, but you don't give any info on how that wiring is actually done. Without specific wiring info, it's hardly possible to provide any useful help !!...
  12. @jonr: Thanks for that tidbit !! Do you do this...

    @jonr: Thanks for that tidbit !! Do you do this on both sides of a 2-layer PCB & they are thus connected to each other ??

    Mark J Culross
    KD5RXT
  13. Replies
    7
    Views
    377

    If you have not already loaded TD 1.54beta9, you...

    If you have not already loaded TD 1.54beta9, you might try that . . . it contains a fix for at least one core bug which caused a delay/hang of approximately 1.7 seconds (in my case, it caused MIDI to...
  14. You do intend to share the fix so that it can be...

    You do intend to share the fix so that it can be permanently fixed for you & everyone else, right ??

    Mark J Culross
  15. Replies
    148
    Views
    7,820

    @PaulStoffregen: I can verify that using...

    @PaulStoffregen:

    I can verify that using 1.54beta9 fixes the freeze in my updated TeensyMIDIPolySynth (this version fixes/works equivalent to the manually applied fix which was initially proposed...
  16. Replies
    4
    Views
    294

    SteveSFX: The "PZEM" was just a placeholder. ...

    SteveSFX:

    The "PZEM" was just a placeholder. For your definition of the pzem array, you'll need to define the array using the same type as pzem1-pzem5. As I tried to indicate, without a full...
  17. Replies
    4
    Views
    294

    SteveSFX: This is all extemporaneous, so you...

    SteveSFX:

    This is all extemporaneous, so you may have to make some adjustments for it to compile & run.

    Maybe setup the array so that it contains a pointer to (which is essentially the address...
  18. Replies
    968
    Views
    64,956

    This has me wondering what the original...

    This has me wondering what the original native-language sentence might have been that translated to "Hi, dogs who are lost." :confused: !!

    Mark J Culross
    KD5RXT
  19. Replies
    13
    Views
    661

    As a point of reference for comparison, in the...

    As a point of reference for comparison, in the initial hardware version of my TeensyMIDIPolySynth, I used 74HC595 shift registers to drive 42 LEDs , as well as 2 x 7-segment LED displays (*all* of...
  20. In my non-PCB projects, I solder 48 pins to the...

    In my non-PCB projects, I solder 48 pins to the bottom of the Teensy 4.1, & mating sockets to the top of the Audio Shield. The Audio Shield is installed onto the bottom of the T4.1. I also solder...
  21. Replies
    7
    Views
    730

    Michal: Here's a

    Michal:

    Here's a <link> to some discussion which includes my pin connections & a simple test sketch (do not be scared by the fact that I was seeking assistance - I fixed my problem by making sure...
  22. Replies
    7
    Views
    730

    I have been very pleased with the

    I have been very pleased with the <ER-TFTM070-5> 7" TFT display from buydisplay.com. Support for the RA8875 controller chip is available by default after installing TeensyDuino.

    Select the...
  23. On the latest version of my TeensyMIDIPolySynth...

    On the latest version of my TeensyMIDIPolySynth project, simply selecting "Smallest Code" optimization (initially selected because code was exceeding available space) also reduced the RAM usage on my...
  24. Here's a

    Here's a <link to the thread> where EEPROM writes were previously not working for T4. You might try the test program from that thread on your LC to see if it helps to reproduce the problem easily,...
  25. Replies
    5
    Views
    431

    Jonathan: I would think that one obvious...

    Jonathan:



    I would think that one obvious approach would be to add another dimension to the envs array (logical), rather than just mutiplying the number of envs (very confusing !!) when...
  26. Replies
    10
    Views
    650

    @ALDad: Posting your modified sketch (see...

    @ALDad:

    Posting your modified sketch (see Forum Rule above) would make it much easier for anyone else to analyze why it might not be working as you expect.

    So, without benefit of the modified...
  27. @zapta: Check

    @zapta:

    Check <this thread> to see if it answers the same question that you are asking . . .

    Mark J Culross
    KD5RXT
  28. Replies
    5
    Views
    370

    @nobody3: Do you know if the CP750 is expecting...

    @nobody3: Do you know if the CP750 is expecting CR, LF, or CR/LF at the end of the serial stream ?? Which these different options for line termination have you tried ??

    Mark J Culross
    KD5RXT
  29. The two added wires are +5VDC & GND directly...

    The two added wires are +5VDC & GND directly between the PowerBoost 1000C & the display (as indicated in my earlier post, this was an attempt to rule out the very thin traces on the PCB, jut in case...
  30. Replies
    8
    Views
    502

    Useful commands to get network info on/from a RPi

    For the RPi (& most other linux devices), simply typing "ifconfig" without the quotes in a terminal window will show you lots of network interface information (if you get a "not found" error, try...
  31. Replies
    8
    Views
    502

    If I understand your question correctly, the...

    If I understand your question correctly, the short answer is as follows:

    IPAddress ip( [ whatever IP address that you want your Teensy to respond to / act as on your network ] );
    IPAddress myDns(...
  32. Kurt: Thank you . . . all great suggestions. ...

    Kurt:

    Thank you . . . all great suggestions. I am moving the modules (Teensy, Audio Adapter, PowerBoost 100C, & RA8875 display) between the wired prototype & the PCB (both boards are socketed). ...
  33. Kurt: Thank you for your reply. When I...

    Kurt:

    Thank you for your reply. When I started this effort to transition from the ILI9341 to a larger display, I read the detailed thread from when the RA8875 library was being optimized for the...
  34. Need help troubleshooting RA8875 which works in a wired prototype, but not in PCB

    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 Speed: "600MHz"...
  35. Replies
    8
    Views
    502

    It's been awhile since I've done much of anything...

    It's been awhile since I've done much of anything with the Teensy & ethernet (too busy playing with my TeensyMIDIPolySynth synthesizer !!), but <here's> a reference that shows how to read the MAC...
  36. Replies
    8
    Views
    502

    From the NativeEthernet example...

    From the NativeEthernet example "AdvancedChatServer":


    #include <SPI.h>
    #include <NativeEthernet.h>

    // Enter a MAC address and IP address for your controller below.
    // The IP address will be...
  37. 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...
  38. @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...
  39. Replies
    7
    Views
    507

    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...
  40. @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...
  41. Replies
    944
    Views
    37,680

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

    NM . . . bad stuff posted earler . . .

    Mark J Culross
    KD5RXT
  42. Replies
    8
    Views
    553

    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...
  43. Replies
    8
    Views
    553

    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(),...
  44. Replies
    7
    Views
    507

    @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...
  45. Replies
    8
    Views
    553

    @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...
  46. Replies
    148
    Views
    7,820

    @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...
  47. 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...
  48. Replies
    944
    Views
    37,680

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

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

    Mark J Culross
    KD5RXT
  49. Replies
    944
    Views
    37,680

    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
  50. @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...
Results 1 to 50 of 266
Page 1 of 6 1 2 3 4