Open dasaki opened 6 years ago
Confirming that the definition works with Ucglib_ILI9341_18x240x320_HWSPI()
on a Blue Pill as well.
NOT WORK FOR with Ucglib_ST7735_18x128x160_HWSPI ucg(/*cd=*/ PA1, /*cs=*/ PA0, /*reset=*/ PA2);
on a Blue Pill.
BUT WORKS just with #define __NOP __ASM volatile ("nop");
added to Ucglib.cpp
: line 43
Works on China board with stm32f103 rc (diymore)
Hi, for me WORKS just with #define __NOP __asm volatile ("nop");
added to Ucglib.cpp : line 43
and in IDE I use: Ucglib_ST7735_18x128x160_HWSPI ucg(/*cd=*/PB1, /*cs=*/ PB12, /*reset=*/ PA4);
(STM32103FC with STM32duino core 2021.2.19)
In order to add support for stm32duino platforms the following definition is needed:
Adding the definition to the file Ucglib.c worked with a maple mini clone and a ST7735 TFT: Ucglib_ST7735_18x128x160_HWSPI ucg(/cd=/ PA2 , /cs=/ PA4, /reset=/ PA3);