I'm trying to run 2 0.96 "(128x64 px) OLED displays model SSD1306 with my STM32F103C8T6 card.
I use Windows 7, Arduino IDE 1.8.12, STM32 Cores 1.9.0 (from STMicroelectronics), 128x64 px I2C OLED display and AdaFruit Adafruit_SSD1306 library.
I state that I view the testimonials with Arduino UNO and Nano and verified.
To demonstrate the beginning of the Adafruit SSD1306 example for STM32 and the compiler of a series of errors.
I kindly ask if anyone could help me.
These are the writings that show me after the compilation:
Code: Select all
In file included from C:\Users\Perito Industriale\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_MonoOLED.h:31:0,
from C:\Users\Perito Industriale\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_MonoOLED.cpp:20:
C:\Users\Perito Industriale\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:40:43: error: 'SPI_BITORDER_MSBFIRST' was not declared in this scope
BitOrder dataOrder = SPI_BITORDER_MSBFIRST,
^
C:\Users\Perito Industriale\Documents\Arduino\libraries\Adafruit_BusIO/Adafruit_SPIDevice.h:45:43: error: 'SPI_BITORDER_MSBFIRST' was not declared in this scope
BitOrder dataOrder = SPI_BITORDER_MSBFIRST,
^
C:\Users\Perito Industriale\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_MonoOLED.cpp: In constructor 'Adafruit_MonoOLED::Adafruit_MonoOLED(uint16_t, uint16_t, int8_t, int8_t, int8_t, int8_t, int8_t)':
C:\Users\Perito Industriale\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_MonoOLED.cpp:102:75: error: call to 'Adafruit_SPIDevice::Adafruit_SPIDevice(int8_t, int8_t, int8_t, int8_t, uint32_t, BitOrder, uint8_t)' uses the default argument for parameter 6, which is not yet defined
spi_dev = new Adafruit_SPIDevice(cs_pin, sclk_pin, -1, mosi_pin, 1000000);
^
C:\Users\Perito Industriale\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_MonoOLED.cpp: In constructor 'Adafruit_MonoOLED::Adafruit_MonoOLED(uint16_t, uint16_t, SPIClass*, int8_t, int8_t, int8_t, uint32_t)':
C:\Users\Perito Industriale\Documents\Arduino\libraries\Adafruit_GFX_Library\Adafruit_MonoOLED.cpp:135:53: error: 'SPI_BITORDER_MSBFIRST' was not declared in this scope
spi_dev = new Adafruit_SPIDevice(cs_pin, bitrate, SPI_BITORDER_MSBFIRST,
^
Più di una libreria trovata per "Wire.h"
Usata: C:\Users\Perito Industriale\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\Wire
Non usata: C:\Users\Perito Industriale\Documents\Arduino\hardware\Arduino_STM32\STM32F1\libraries\WireSlave
exit status 1
Errore durante la compilazione per la scheda Generic STM32F103C series.