
### reserved GPIO
We need to refactor the layout as we're using: GPIO9(D2)
GPIO10(D3) fro the reserved: GPIO6 (CLK), GPIO7 (D0), GPIO8(D9), GPIO9(D2) and GPIO10(D3), GPIO11 (CMD)
# Colors for LCD
ILI9341_BLACK,
ILI9341_NAVY,
ILI9341_DARKGREEN,
ILI9341_DARKCYAN,
ILI9341_MAROON,
ILI9341_PURPLE,
ILI9341_OLIVE,
ILI9341_LIGHTGREY,
ILI9341_DARKGREY,
ILI9341_BLUE,
ILI9341_GREEN,
ILI9341_CYAN,
ILI9341_RED,
ILI9341_MAGENTA,
ILI9341_YELLOW,
ILI9341_WHITE,
ILI9341_ORANGE,
ILI9341_GREENYELLOW,
ILI9341_PINK
### TFT Speed improvements
ILI9341 GFX Speed Improvement
To improve the speed of the Adafruit GFX library for the ILI9341 display, consider using the LovyanGFX library, which is optimized for DMA and high-speed peripherals on the ESP32 family, RP2040, and SAMD51, achieving performance improvements over Adafruit_GFX.
Another option is to use the PDQ_GFX_Libs, an optimized fork of Adafruit's GFX library that can be up to 12 times faster for SPI LCDs and is compatible with Adafruit sketches.
For specific SPI bus speed adjustments, ensure you are setting the SPI clock frequency appropriately. For example, on the ESP8266 and ESP32, the SPI_DEFAULT_FREQ is set to 40,000,000 Hz, but you can adjust this value based on your hardware capabilities.
Additionally, optimizing the SPI bus transfers and avoiding repeated pgm_read_byte() calls on every pixel can further enhance performance.
### HDMI Specifications Table
| Version | Release Date | Bandwidth (Gbps) | Max Resolution | Refresh Rate | Key Features |
|---------|--------------|------------------|----------------|--------------|--------------|
| **HDMI 1.0** | Dec 2002 | 4.95 | 1080p at 60Hz | 60Hz | - HDCP (High-bandwidth Digital Content Protection) <br> - 8-bit color depth <br> - Support for up to 8 channels of digital audio |
| **HDMI 1.1** | May 2004 | 4.95 | 1080p at 60Hz | 60Hz | - Added support for DVD-Audio |
| **HDMI 1.2** | Aug 2005 | 4.95 | 1080p at 60Hz | 60Hz | - Added support for One-Bit Audio (used in SACD) <br> - Support for PC sources (DVI to HDMI) |
| **HDMI 1.2a** | Dec 2005 | 4.95 | 1080p at 60Hz | 60Hz | - Added CEC (Consumer Electronics Control) testing |
| **HDMI 1.3** | Jun 2006 | 10.2 | 1080p at 120Hz | 120Hz | - Increased bandwidth to 10.2 Gbps <br> - Support for deep color (up to 16-bit color depth) <br> - Support for new audio formats (Dolby TrueHD, DTS-HD Master Audio) <br> - Mini HDMI connector |
| **HDMI 1.3a** | Nov 2006 | 10.2 | 1080p at 120Hz | 120Hz | - Improved cable performance <br> - Added Type A connector (Micro HDMI) |
| **HDMI 1.4** | May 2009 | 10.2 | 4K at 30Hz | 30Hz | - Support for 4K resolution <br> - Added Ethernet channel (HEC) <br> - Audio Return Channel (ARC) <br> - 3D over HDMI <br> - Micro HDMI connector |
| **HDMI 1.4a** | Mar 2010 | 10.2 | 4K at 30Hz | 30Hz | - Improved 3D support |
| **HDMI 1.4b** | Oct 2011 | 10.2 | 4K at 30Hz | 30Hz | - Added support for Audio Data Packets <br> - Improved audio return channel (ARC) |
| **HDMI 2.0** | Sep 2013 | 18 | 4K at 60Hz | 60Hz | - Increased bandwidth to 18 Gbps <br> - Support for 4K at 60Hz <br> - Support for 10-bit, 12-bit color depth <br> - 32 audio channels <br> - 21:9 aspect ratio <br> - HDR (High Dynamic Range) support <br> - Simultaneous delivery of dual video streams to multiple users from a single source <br> - Simultaneous delivery of multi-stream audio to multiple users from a single source <br> - CEC extensions for remote control via one device |
| **HDMI 2.0a** | Apr 2015 | 18 | 4K at 60Hz | 60Hz | - Added support for HDR10 |
| **HDMI 2.0b** | Apr 2016 | 18 | 4K at 60Hz | 60Hz | - Added support for additional HDR formats (Dolby Vision, HDR10+) |
| **HDMI 2.1** | Jan 2017 | 48 | 8K at 60Hz, 10K at 30Hz | 120Hz | - Increased bandwidth to 48 Gbps <br> - Support for 4K at 120Hz, 8K at 60Hz, and 10K at 30Hz <br> - Support for 10
todo: custom chips:
https://search.brave.com/search?q=custom+chip+vs+studio+code+wokwi&source=desktop&conversation=065329a18eb6595b6895c4&summary=1
https://docs.wokwi.com/vscode/project-config
https://search.brave.com/search?q=how+to+create+wokwi+wasm+file&source=desktop&summary=1&conversation=bef63d977426bd86e1b629
https://docs.wokwi.com/chips-api/chip-json
todo: esp fs:
https://wokwi.com/projects/387216236449866753
https://search.brave.com/search?q=esp32+store+json+file&source=desktop&conversation=c183cffbe8a77e80ccfc28&summary=1
todo: read display from ossc/ossc addon:
https://safe.search.brave.com/search?q=esp32+devkit-c+v4+extract+content+from+ic2+bus+and+print+it+via+serial+to+computer+device%3A+oled+0.91inch+127x32+display&source=web&summary=1&conversation=4ae5d4eda0277b95b2cef2
https://safe.search.brave.com/search?q=i2c+man+in+the+middle+esp32+arduino+exapmle&source=web&summary=1&conversation=b38628efa71fa601fde736
# eeprom
https://datasheet4u.com/pdf-down/9/3/C/93C46_MicrochipTechnology.pdf