Search results

  1. B

    IntervalTimer -- "Does not name a Type"

    Teensy 4.0, simple code: #include <avr/pgmspace.h> #include <cstddef> IntervalTimer LightsTimer; void myTask(void) { } ...results in... R:\QTRNM-QFSV\Teensy\Quartetronome\Metronome.cpp:4:1: error: 'IntervalTimer' does not name a type 4 | IntervalTimer LightsTimer; | ^~~~~~~~~~~~~...
  2. B

    DMAMEM? MEM2?

    Rezo WINS!!! I changed LV_MEM_SIZE from (32U * 1024U) ... to ... (128U * 1024U) -- (why the "U"s?) and everything works and is solid as a rock!! (I see the simulator uses (256 * 1024U) -- (no first U?) (I'm clueless about lv mem monitor...) Thanks, My day ends in rare peace, I'm so happy...
  3. B

    DMAMEM? MEM2?

    Thanks -- that's a BIGG help! Now, how did you know that (and how did I miss it?) So, turning everything on and not moving anything to RAM2 (except my 3 test int's -- turns out you can put DMAMEM anywhere on the line), I get: Memory Usage on Teensy 4.0: FLASH: code:203472, data:69568...
  4. B

    DMAMEM? MEM2?

    I'm working on Teensy 4.0 with LVGL / ili9488 / Arduino. My app looks great in the LVGL simulator but crashes ("out of memory") instantly on the T4. (I'm SO grateful that it is able to tell me!) If I remove a few visual objects, it runs for a while (in some configurations re-booting every 10...
  5. B

    LVGL on Teensy 4: Upgrade to v8

    @skpang : Thank you very much for writing. I decided to go ahead with porting to LVGL V8.02. I now have the basics working -- SPI serial driver and resistive touchscreen, all built on your (life-saving!) code. I want to point out a crucial issue that took me a long time to debug, and which you...
  6. B

    LVGL on Teensy 4: Upgrade to v8

    This for SKPang (I’d be grateful if you could send me a message: bewing2@gmail.com .) I'm doing LVGL on Teensy 4.0; ILI9488, 480x320 SPI LCD. Everything was going swimmingly under LVGL v7.11, but yesterday I allowed Arduino to upgrade to v8.0.2. Of course everything broke -- a series of...
  7. B

    Short Between Teensy 4.0 and Audio Shield -- Teensy Fails & Gets Hot!

    To be clear: I am the idiot here. My application is very height-limited and I was so excited about getting to the audio portion of this project I wasn't thinking and just jammed the boards together despite years of cautious design! My only concern was whether I should solder the board in-place...
  8. B

    Short Between Teensy 4.0 and Audio Shield -- Teensy Fails & Gets Hot!

    This took me a while to figure out... My Teensy 4.0 worked fine (with a connected LCD) but when I soldered an Audio Shield (Rev D, of course) under the Teensy, it stopped working and got quite warm. I triple-checked the orientation -- okay. I eventually figured out that one Teensy capacitor...
  9. B

    Teensy shutdown when SD card is inserted

    Did you ever figure this out? I think I know what your problem is -- the Audio Shield is too close to the Teensy and C29 (I think) touches the grounded metal of the SD card frame, shorting +3.3V to ground. I came here to make a post to this effect, which I guess I'll do! --BE
  10. B

    Teensy 4.0/4.1 & ILI9488 LCD

    Mistakes in that schematic (wish I could delete) -- MISO & MOSI confused. Here's the corrected schematic:
  11. B

    Teensy 4.0/4.1 & ILI9488 LCD

    Teensy 4.0/4.1 with ILI9488 and XPT2046 -- working! I want to report back that I have SKPang's Teensy40_lvgl_demo_widgets-master working (with many changes). I'm posting this because it might help somebody trying to do the same thing. (In my mind, 480x320 is the smallest practical LCD size for...
  12. B

    Teensy 4.0/4.1 & ILI9488 LCD

    Solid suggestions, Kurt -- thanks, thanks, thanks! 1) I tried graphicstest9488 and got it to work. (I had to remove splitter resistors because Teensy signals are 3.3V.) I thought the clock was moving between logic 0 and floating with oscillations. It is in fact an extremely weak clock (see...
  13. B

    Teensy 4.0/4.1 & ILI9488 LCD

    I figured this out -- I didn't install Teensyduino. It also appears that I should (possibly?) get ILI9488_t3 from the library, not from the .ZIP file. I'll try that. At the moment, I'm stuck with: Teensy40_LittlevGL_ILI9488_demo_create: In function 'void setup()'...
  14. B

    Teensy 4.0/4.1 & ILI9488 LCD

    I greatly appreciate your help (and your collie's). I am using several 14-pin LCD panels with ILI9488 (SPI) and resistive touch (I2C?) controllers -- from Amazon and (yes, it's true) Ali Express. But until I see a clock, this definitely isn't my problem. I start from a fresh Arduino install...
  15. B

    Teensy 4.0/4.1 & ILI9488 LCD

    I’m new to Arduino. I want to use a Teensy 4 for an audio application and I would very much like to have 480x320 graphics (ILI9488.) I’ve been going in circles for weeks, surely doing many things wrong. I’m on Windows 7, Arduino v1.8.13. Question #1 How do I build it? (Tried this 3 times!)...
  16. B

    Teensy 4.1, Touchscreen, Audio

    Working on a handheld audio project, I recently abandoned Raspberry Pi (boot time too long) in favor of Teensy 4.1 -- I am very excited about the audio possibilities. I need touchscreen LCD for menu/navigation only (3.5", 480x320, ILI9488 is popular) and SD card for audio waves. I was using...
Back
Top