Yep, I was missing the Entropy.Initialize() and it's working perfectly. :rolleyes: Thanks!
Type: Posts; User: Slabshaft
Yep, I was missing the Entropy.Initialize() and it's working perfectly. :rolleyes: Thanks!
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);...
Dang, that's really slick and will definitely come in useful for me. Thanks for sharing that.
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...
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...
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...
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...
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...
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...
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...
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...
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...