Hello,
I attached the project hoping it could be useful. I used STM32CubeMX and Atollic True Studio. I have a 128x128 custom display with UC1610 via I2C.
The display shows the uGFX logduring gfxInit(), but then nothing else.
/* Initialize and clear the display */
gfxInit();
// Get the screen size
width = gdispGetWidth();
height = gdispGetHeight();
gdispDrawBox(10, 10, width/2, height/2, Black);
gdispFillArea(width/2, height/2, width/2-10, height/2-10, Black);
gdispDrawLine(5, 30, width-50, height-40, Black);
for(i = 5, j = 0; i < width && j < height; i += 7, j += i/20)
gdispDrawPixel(i, j, White);
/* Infinite loop */
/* USER CODE BEGIN WHILE */
while (1)
{
gfxSleepMilliseconds(500);
}
What could be the problem ?
How can I debug correctly ?
Thanks
bye
K150_uGFX.zip