1. Select and fill the following information:
- Type - Choose the memory type:
- FLASH
- Interface - Choose the type of interface for data transfer to and from the graphic IC:
-SPI_1 - Hardware SPI Port 1 (usually denoted as SPI1)
-SPI_2 - Hardware SPI Port 2 (usually denoted as SPI2)
-SPI_SW - Software SPI protocol (Bit-banging)
- Page Size - Enter the FLASH memory page write size in bytes.
- Sector Size - Enter the FLASH memory sector size in bytes.
- MEM CS ... MEM SCLK - Specify the pins to be used for SPI communication.
- Sector# - Enter the total number of uniform sectors in the FLASH memory.
- File# - Enter the maximum number of files to be written in memory (multiple of 128).
- Write Delay - Enter the minimum required delay between FLASH writes (in milliseconds).
2. Generate defines
Click "ADD DEFINE" to generate a list of defines and symbols for inclusion in Positron.
3. Copy defines to Positron
Select and copy all the generated defines from the text box, and paste them at the beginning of your Positron code, before including TFT_Graphic_Lib.inc. You can also clear the text box by deleting all lines if needed.
Created with the Personal Edition of HelpNDoc: Effortlessly Edit and Export Markdown Documents