Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPI lib error #1

Open
Cljak10 opened this issue Mar 16, 2020 · 2 comments
Open

SPI lib error #1

Cljak10 opened this issue Mar 16, 2020 · 2 comments

Comments

@Cljak10
Copy link

Cljak10 commented Mar 16, 2020

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
Copy link
Owner

cbm80amiga commented Mar 17, 2020 via email

@jhonnyx161
Copy link

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 <SPI.h>
#include <Adafruit_GFX.h>
#define TFT_DC PA1
#define TFT_RST PA0
#include <Arduino_ST7789_STM.h>

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants