![]() |
Originally Posted by SLOPOS Very familiar with that platform, granted when I was using them they were mostly used for WiFi gpio to control relays and the like, but not
|
|
LinkBack | Thread Tools | Display Modes |
![]() |
#9 (permalink) | |
Base Member
Join Date: Nov 2016
Location: Toronto
Posts: 232
Drives: G37 Sport
Rep Power: 6789 ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() Quote:
A 320 x 240 display has 76,800 pixels, and each pixel has 16 bits (RGB565) of colour information, for a total of 1,226,800 pixels or 153,600 bytes per LCD screen/page. The LCD controller I use supports a max SPI clock of 40 Mhz resulting in taking 0.180 seconds to draw each page. By only "drawing" the parts of the screen that change, the display updates around 30 times per second. To make the best use of all clock cycles, I use a RTOS (real time operating system) which allows pre-emptive multitasking. This allows me to run multiple tasks at the same time. The tasks I have set up are: reading the CAN bus, receiving Bluetooth data, and drawing the display. They all run independently and at full speed. Nice! Also, since the ESP32 has 2 cores, core 0 is dedicated to handling all Bluetooth communications, and core 1 handles reading the CAN bus and rendering the display. Anyways, I'm glad to share the details... |
|
![]() |
![]() |
Bookmarks |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
UPDATE: Popular Items Back In Stock, Some Items Still OOS | Nick@Adams | Adam's Polishes | 0 | 10-29-2013 08:55 AM |
We have reached 370 pages in General Discussions! Look Up! /\/\/\ | NissanUSA | Nissan 370Z General Discussions | 8 | 01-27-2012 03:13 PM |
Any Takers????...Import Tuner Power Pages...??? | TSE | North East Region | 9 | 05-09-2010 07:49 PM |
What happened to the tire pressure gauge and speedo in the middle gauge cluster? | rbratton | Nissan 370Z General Discussions | 33 | 01-24-2009 10:28 PM |