When you say "same result" can you clarify - do you mean that the left display is always fine no matter which physical device is wired there, or that the screen that has lower bitdepth on the right...
Type: Posts; User: beermat
When you say "same result" can you clarify - do you mean that the left display is always fine no matter which physical device is wired there, or that the screen that has lower bitdepth on the right...
I think it is best to fix them in the original post, so when someone new comes along later and takes that code from the OP, they have a working version of it rather than potentially dealing with an...
Thanks for this! I went with this loop in the end, which works for even multiples of the screen height:
static const int SLX = 480;
static const int SLY = 800;
static const int chunks = 4;...
Great, sounds awesomely flexible! I tried with a full 480*800 buffer with all storage in EXTMEM, and "buddha" worked, managing 6.3 FPS :) "mars" also worked (slowly as expected) using fullscreen...
@vindar - is there an example of configuring your 3D renderer to use just a single non-DMA partial framebuffer? I'm interested to try this on my 800*480 16 bit parallel screen which, given the size...
I am having the same issue as wwatson above in #126, even using the latest version of the FTP Server 1.1.0 . Using FileZilla (3.59.0) on Windows, I can connect in passive or active mode and (usually,...
Ahhh, gotcha. Yes, there is no "quick start" for a combination of a "bare metal" device like the Teensy and a graphics library such as LVGL, which is capable of running on multiple platforms. The...
But isn't the battle with LVGL getting the initial setup installed, configured, working and tied in to your display driver to output to your screen? If you got to the point of displaying a text...
I have LVGL working on the Teensy 4.1, and whilst it is a little bit of an initial learning curve, it is quite powerful and very flexible, and is actively maintained by the devs. I'd definitely...
From code you can do:
asm("bkpt #251"); // run bootloader
or add your own pushbutton to momentarily connect the "Program" pin on the T4.1 to ground
Not had a chance to look at it yet; I just changed the font I used in my app to be more like one you prefer :)
It's just a rotating display of some key info as I develop...the first screenshot showed it when it had power (current) usage and screen bit depth displayed, the second showed CPU temp and TFT...
27769
There you go :)
Yes, I currently do this by reading the TFT GRAM directly, either into a full screen buffer into PSRAM (double slow :) ) or in chunks into a buffer in TCM, and then write to the SD card as a .BMP,...
The pixels are a little small :) In my project that uses this, I display log files from my app, in a small but legible font - not something I'd want to read for a long period, though!
27763
I'm...
FWIW though, I am using PlatformIO in VSCode on Windows 10 with a T4.1, and have been using Serial8 without any warnings or errors in compilation through several versions of the Teensy framework and...
Do you still have to manually push the button on the Teensy to enter program mode if you have the monitor open like this? I still get the following in VSC / platformIO when doing a "build and run"...
A little late, but what about this 800*480 display, and just display sidebars to make it 640*480 :) It's NT35510 based, but it's a very similar controller to the ILI9488 command set, and affordable....
Paul, does the above apply to the Teensy 4.1 as well? I have been using arm_set_clock() in my main project running on a T4.1 for almost a year, and haven't once experienced/identified any negative...
The three IPs in the TimeNTP example in the Time library examples all return no response for me, too. This one worked:
IPAddress timeServer(132, 163, 96, 2); // time.nist.gov
In my experience (and others, who took this issue up with the FNET author), the DNS lookup code in NativeEthernet/FNET will not return a host IP if the lookup is done on an alias (CNAME). To...
Yeah, what indeed could go wrong? :) One thing, if you currently use 2.54mm headers to attach the Teensy to the PCB, the Ethernet ones are smaller pitch and size, so just ensure the ethernet...
As TX and RX are independent from a signaling/functional perspective, I don't think their relative lengths matter. I have a custom board with a Teensy 4.1 and Ethernet amongst other things (designed...
Update: it is dns.getHostByName(host, remote_addr) in the client.connect() method that fails to resolve the address for the server. "api.weather.gov" is an alias (CNAME) and it appears the dnsClient...
What errors do you have at runtime? I have had a similar experience with "Fastest" in the past, after adding a small amount of new code to a functioning project and executing on the Teensy, it would...
Thanks vjmuzik for this library! I have been using it successfully to retrieve weather data from Open Weather. I wanted to expand to get additional information from the National Weather Service API...
Thanks Frank! Wish I had seen this thread earlier :) Last week, I was experiencing similar issues inside a loop that "normally" took around 22ms for ~500 iterations, experiencing "freezes" every 50...
But did you get this working on a T4 / T4.1? I have ILI9488 (480x320px) and NT35510 (800x480px) drivers now working well off GPIO6 in 8 and 16 bit mode, and was wondering about trying FlexIO too, but...
Took a little time to make a video the Teensy 4.1 running a couple of the LVGL demos, to give a view of what can be achieved with that library on a Teensy 4.1:
Music player demo on T4.1 with...
I wanted it; still do :) I've fudged mine for now to work for me, but it's ugly.
I'm using the upper 16 bits of GPIO6 on Teensy 4.1 to drive parallel TFT displays (ILI9488 480x320 and NT35510 800x480) in 8 and 16 bit modes, and just because the Teeny pinouts aren't consecutive...
It's a quick snack for the processor. Or is that asm volatile("nom nom nom nom nom")? I forget.
I (and others) use them for short delays; for instance, I'm driving a parallel ILI9488, and strobing...
Can you please just give us an alternate linker script that follows the more standard paradigm of "Flash for instructions unless marked FASTRUN"? As someone who uses several third party libraries to...
Bit late to the party here, but LVGL gives you some options here via the lv_conf.h file. You can tell it to use EXTMEM and how much, and also PROGMEM for it's large constants, like fonts, and even...
The latest "high speed SPI" RPi screens are intriguing. The WaveShare Model C uses an ILI9486 controller, I believe. I bought one thinking it would be a ton of work to get running via the Teensy, but...
I haven't tried this particular model screen, but I did have success with a different RPi SPI screen, the 125Mhz SPI model C. For that model, it basically has a SPI interface to the MCU but uses the...
I have an 8 bit parallel TFT display connected to a Teensy 4.1 via the pins mapped to GPIO6 bits 16..23 (pins 19,18,14,15,40,41,17,16), and have it working all fine and dandy using this statement to...
Frank, is this maintained somewhere for Teensy 4.1? I really hate being forced to load up my ITCM with tons of 3rd part library code that I don't need there, at the expense of being able to use that...
Thanks, I'm using LittleVGL for the menu system, it's really nice! And yes, because I pre-encode the video file, it's literally just a read directly into the memory buffer and then a SPI transfer of...
This is great, thanks!
This is entirely possible, and a library would be very useful I think!
I'm currently getting 30+ FPS video and sound streamed from an SD card (SdFat Beta, SDIO, clock 70Khz) using a Teensy 4.0,...
Just a quick reply - I have the Teensy 4.0 working fine with the SdFat beta, as have others it seems. It's been a while since I got it going, but I remember having to format the card as exFAT, and...
It is printing the memory address, because you are assigning the memory address of buttonId as its value with buttonIdPtr = &buttonId; Try buttonIdPtr = buttonId instead, that works in your code....
Thanks :) The Pacman code is currently a little too interwoven with my display/input code, and esp. coded to the rotation of the ILI9342 vs ILI9341, but yeah, after this project, I can separate and...
I just want to give a +1 to LittlevGL. Currently using it on a Teensy 4.0 with an IL9342 based 2.3" display and XPT2046 touchscreen, and it's pretty straightforward to use and the results are...
Thanks for the moral support, I needed it :) After more digging, and hacking down my code into as simple a sketch I can get to recreate the issue with minimal variables, I did notice that my first...
Update - this is the troublesome code snippet, it takes audio data (read from the SD card into videoAudioBuffer), and pushes it to an AudioPlayQueue
//Process audio
//Audio is 1839...
I'm having fun, thanks for this, my sketch now has the headroom it needs (although the IDE still reports way more global variable space usage when I chose FLASH memory vs compiling on the Teensy...
Have an issue using AudioPlayQueue on Teensy 4.0, that isn't present on Teensy 3.6. My sketch is complex, so will describe the issue seen as best I can in the hope it jogs some recollection or...
Ok, went to simplest possible setup - Guitar example from the Audio library, taking TX, LRCLK and BCLK to Adafruit I2S 3W Class D Amplifier Breakout - MAX98357A.
AudioOutputI2S works on T3.6 with...