The ILI9341 driver should be the same as ST7735 except for the init sequence and screen size. An example init sequence is here https://github.com/adafruit/Adafruit_ILI9341/blob/master/Adafruit_ILI9341.cpp#L151-L178 A new class needs to be added similar to this https://github.com/microsoft/devicescript/blob/9cd49aef06114a147cbd5127fc12f1fc58112769/packages/drivers/src/st7735.ts#L247-L264 The main thing is to test it with hardware ** Datasheet, firmware, etc... ** https://cdn-shop.adafruit.com/datasheets/ILI9341.pdf
The ILI9341 driver should be the same as ST7735 except for the init sequence and screen size. An example init sequence is here
https://github.com/adafruit/Adafruit_ILI9341/blob/master/Adafruit_ILI9341.cpp#L151-L178
A new class needs to be added similar to this
devicescript/packages/drivers/src/st7735.ts
Lines 247 to 264 in 9cd49ae
The main thing is to test it with hardware
** Datasheet, firmware, etc... **
https://cdn-shop.adafruit.com/datasheets/ILI9341.pdf