LOCODUINO

Aide
Forum de discussion
Dépôt GIT Locoduino
Flux RSS

samedi 20 avril 2024

Visiteurs connectés : 48

Bibliothèque DcDccNanoController

Une petite centrale toute prête...

. Par : Thierry

Depuis longtemps, je fabrique des briques logicielles destinées à une construction plus ambitieuse. Sur ce site, je fournis des bibliothèques prêtes à l’emploi pour faciliter la vie d’éventuels utilisateurs qui n’ont plus qu’à coder un minimum pour s’en servir. C’est l’idée qui a vu naître UAD, remplacée depuis par Commanders (pour gérer les (...)

Retourner à l'article

Vous répondez à :

Bibliothèque DcDccNanoController 9 octobre 2021 21:56, par msport

Bonjour Thierry,
dans LcdUi la possibilité d’utiliser un OLED Nokia 5110 est indiquée en faisant appel à la bibliothèque Adafruit_PCD8544
l’exemple de cette bibliothèque, pcdtest.ino propose la déclaration :
Adafruit_PCD8544 display = Adafruit_PCD8544(7, 6, 5, 4, 3) ;
que j’ai transposée en
Adafruit_PCD8544 led = Adafruit_PCD8544(7, 6, 5, 4, 3) ;

Mais en compilant demo.ino, j’ai les erreurs :
Demo:39:44 : error : no matching function for call to ’ScreenLiquid::begin(int, int, const char* const [23], Adafruit_PCD8544*)’
screen.begin(16, 2, DcDccStringTable, &lcd) ;

In file included from C :\Users\miche\AppData\Local\Temp\arduino_modified_sketch_456066\Demo.ino:16:0 :
C :\Users\miche\Documents\Arduino\libraries\LcdUi\src/ScreenLiquid.hpp:40:7 : note : candidate : void ScreenLiquid::begin(byte, byte, const char* const*, LiquidCrystal*)
void begin(byte inSizeX, byte inSizeY, PGM_P const *inpStringTable, LiquidCrystal *inpLcd)

Il faut certainement faire autrement référence pour led.

Merci pour toute indication.

Qui êtes-vous ?
Votre message

Pour créer des paragraphes, laissez simplement des lignes vides.

Lien hypertexte

(Si votre message se réfère à un article publié sur le Web, ou à une page fournissant plus d’informations, vous pouvez indiquer ci-après le titre de la page et son adresse.)

35 Messages

Rubrique Bibliothèques

Bibliothèque Accessories (1)

Bibliothèque Accessories (2)

Un décodeur d’accessoires universel (1)

Un décodeur d’accessoires universel (2)

Un décodeur d’accessoires universel (3)

Bibliothèque LcdUi (1)

Bibliothèque LcdUi (2)

La bibliothèque Servo

Bibliothèque SoftWare Serial

Bibliothèque Serial

Bibliothèque EEPROM

Bibliothèque Wire : I2C

Bibliothèque LCD

La bibliothèque ScheduleTable

Bibliothèque MemoryUsage

Bibliothèque EEPROMextent

La bibliothèque SlowMotionServo

Bibliothèque Commanders

Bibliothèque DCCpp

Bibliothèque DcDccNanoController

La bibliothèque ACAN (1)

La bibliothèque ACAN (2)

Bibliothèque LightEffect

Les derniers articles

Bibliothèque LightEffect


Christian

La bibliothèque ACAN (2)


Jean-Luc

La bibliothèque ACAN (1)


Jean-Luc

La bibliothèque SlowMotionServo


Jean-Luc

Bibliothèque DCCpp


Thierry

Bibliothèque DcDccNanoController


Thierry

Bibliothèque LcdUi (2)


Thierry

Bibliothèque LcdUi (1)


Thierry

Bibliothèque Accessories (2)


Thierry

Bibliothèque Accessories (1)


Thierry

Les articles les plus lus

Bibliothèque Wire : I2C

Bibliothèque DCCpp

Bibliothèque Commanders

Bibliothèque LCD

La bibliothèque Servo

Un décodeur d’accessoires universel (1)

Bibliothèque DcDccNanoController

Bibliothèque SoftWare Serial

La bibliothèque ACAN (1)

Bibliothèque Accessories (1)