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

Search:

Type: Posts; User: Slabshaft

Search: Search took 0.00 seconds.

  1. Yep, I was missing the Entropy.Initialize() and...

    Yep, I was missing the Entropy.Initialize() and it's working perfectly. :rolleyes: Thanks!
  2. Teensy4.x Entropy library documentation?

    I'm trying to use a random number generator for an audio sequencer using the latest Entropy library and a Teensy 4.0. Everything compiles and appears to work, but simply using Entropy.random(0,15);...
  3. Dang, that's really slick and will definitely...

    Dang, that's really slick and will definitely come in useful for me. Thanks for sharing that.
  4. Thanks for the input! After a few resets and a...

    Thanks for the input! After a few resets and a bunch of time running the I2C scanner sketch on the oscilloscope, everything looked fine (although the 10K pullup resistors on my level shifter seem...
  5. Is my I2C dead? How best to troubleshoot?

    I think my I2C functionality may have died on my 4.0. Everything was working flawlessly for the last week until I2C communication suddenly died after unlpugging USB and plugging back in. Here is...
  6. Replies
    75
    Views
    3,078

    Entropy won't compile on my 4.0. I'm using...

    Entropy won't compile on my 4.0. I'm using PlatformIO in VS Code so I think it's pulling an old library and I don't really know how PlatformIO works with Teensyduino updates. Is there a link to the...
  7. Thank you for the help! :cool: 1. Moving the the...

    Thank you for the help! :cool:
    1. Moving the the stuct definition to the top of the header file eliminated the forward declaration error.
    2. Understanding that the name of the sequence[16] is a...
  8. Need help pointing to and dereferencing array of structs from a class!

    I'm feeling totally stuck on this one. Complete brick-wall stuck. I've had success using pointers to regular objects, and pointers to arrays of integers, so this seemed like more of the same but I...
  9. I found this in the header file and set...

    I found this in the header file and set _updateChangedAreasOnly to true and saved the header file so the default for me is now "true". Maybe this can be called in the code, but I wasn't sure how. I...
  10. I'm curious as to how the automatic bounding box...

    I'm curious as to how the automatic bounding box works. Does one need to do any more than just set useFrameBuffer(true)? Is it basically an auto "setClipRect()"? Or is it a more sophisticated routine...
  11. Thanks for the response :cool: Ok, so it looks...

    Thanks for the response :cool: Ok, so it looks like the clipping rectangle is the answer for me at this point. Here is the basic program flow, explained slightly differently for anyone who tries...
  12. Using TFT Library with Teensy 4.0: How do I update only changed pixels?

    Caveat: I'm not software or electrical engineer, so my knowledge is very basic.

    The setup:
    Teensy 4.0, 2.8" Touch TFT from PJRC, ILI9341_t3n library

    The problem:
    Updating the entire screen...
Results 1 to 12 of 12