cbm80amiga / ST7789_Watch_stm

Analog Watch/Clock with STM32 RTC and ST7789 IPS
GNU Lesser General Public License v3.0
43 stars 13 forks source link

SPI lib error #1

Open Cljak10 opened 4 years ago

Cljak10 commented 4 years ago

Hi I would really like to get your code to work. I'm using STM32Duino on PlatformIO. But when I compile your example, it says: class SPIClass' has no member named 'write' lib/Arduino_ST7789_STM/Arduino_ST7789_STM.cpp:236:9: error: 'class SPIClass' has no member named 'dmaSend' etc. So I was wondering what version of the SPI library you are using? Perhaps I am using outdated code?

All the best, and thank you for the effort. /Claes

cbm80amiga commented 4 years ago

I still use Arduino IDE 1.6.5 and Roger's stm32duino. Regards, Pawel

wt., 17 mar 2020 o 00:27 Cljak10 notifications@github.com napisał(a):

Hi I would really like to get your code to work. I'm using STM32Duino on PlatformIO. But when I compile your example, it says: class SPIClass' has no member named 'write' lib/Arduino_ST7789_STM/Arduino_ST7789_STM.cpp:236:9: error: 'class SPIClass' has no member named 'dmaSend' etc. So I was wondering what version of the SPI library you are using? Perhaps I am using outdated code?

All the best, and thank you for the effort. /Claes

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/cbm80amiga/ST7789_Watch_stm/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEX77SE2LXWVRUXL3VVLYBLRH2YWVANCNFSM4LMY2FXA .

jhonnyx161 commented 3 years ago

Hi I use STM32F4 and report this error : I use ide arduino

// ST7789 library example // Analog watch/clock and STM32 RTC // (c) 2019 Pawel A. Hernik // YT videos: // https://youtu.be/35Z0enhEYqM // https://youtu.be/Xr-dxPhePhY

include

include

define TFT_DC PA1

define TFT_RST PA0

include

n file included from C:\Users\jhonn\OneDrive\Documentos\Arduino\libraries\rtclok/RTClock.h:1, from C:\Users\jhonn\OneDrive\Documentos\ArduinoSTM32\TFT\ST7789\ST7789_Watch_stm-master\ST7789_Watch_stm-master\ST7789_Watch_stm-master.ino:30: C:\Users\jhonn\OneDrive\Documentos\Arduino\libraries\rtclok/utility/rtc_util.h:37:10: fatal error: libmaple/libmaple.h: No such file or directory 37 | #include <libmaple/libmaple.h> | ^~~~~ compilation terminated. exit status 1 Error compilando para la tarjeta Generic STM32F4 series.