MicroMod Input and Display with RP 2040 programing problem in C

Hello everyone!

I just getting started programming RP2040 in Visual Studio in C and I have problem with display library. I didn’t find recomended library for this board, so I try do it myself. Could you check what is wrong on my code? There is no compilation issues, so i don’t know what isn’t ok…

On the start I would like get white pixel on my display - I think this is important function which is base to fill all display another color than black…

Code based on technical data of TFT LCD 4DLCD-24320240-IPS-[RTP/CTP] and Adafruit_ILI9341.cpp on GitHub for Raspberry PI

display.c (9.84 KB)