Giter VIP home page Giter VIP logo

arduino-lcd03's People

Contributors

andatche avatar bodoba avatar per1234 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

arduino-lcd03's Issues

Can't compile LCD03 with platformio (ESP8266)

Hi andatche

I try to compile your HelloWorld project with Visual Studio Code + Platformio and I have this error messages (see bellow).

My target board is a ESP8266 ESP-12E ( LoLin NodeMCU_esp8266_001), and I have this error messages (see bellow).

You package and the documentation is well done and you did a great job. Peraphs I am missing a point or your code is not compliant with the latest environment (need an update ?).

Processing nodemcuv2 (platform: espressif8266; board: nodemcuv2; framework: arduino)
--------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/nodemcuv2.html
PLATFORM: Espressif 8266 (4.0.1) > NodeMCU 1.0 (ESP-12E Module)
HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash
PACKAGES: 
 - framework-arduinoespressif8266 @ 3.30002.0 (3.0.2) 
 - tool-esptool @ 1.413.0 (4.13) 
 - tool-esptoolpy @ 1.30000.201119 (3.0.0) 
 - toolchain-xtensa @ 2.100300.210717 (10.3.0)
LDF: Library Dependency Finder -> https://bit.ly/configure-pio-ldf
LDF Modes: Finder ~ chain, Compatibility ~ soft
Found 37 compatible libraries
Scanning dependencies...
Dependency Graph
|-- LOLIN D1 Examples @ 1.0.0
|-- LCD03 @ 1.1.2
|   |-- Wire @ 1.0
|-- ESP8266WiFi @ 1.0
|-- ESP8266mDNS @ 1.2
|   |-- ESP8266WiFi @ 1.0
|-- Wire @ 1.0
Building in release mode
Compiling .pio/build/nodemcuv2/lib676/LCD03/LCD03.cpp.o
Compiling .pio/build/nodemcuv2/lib55f/ESP8266WiFi/ESP8266WiFiSTA-WPS.cpp.o
Compiling .pio/build/nodemcuv2/lib55f/ESP8266WiFi/ESP8266WiFiSTA.cpp.o
Compiling .pio/build/nodemcuv2/lib55f/ESP8266WiFi/ESP8266WiFiScan.cpp.o
.pio/libdeps/nodemcuv2/LCD03/LCD03.cpp: In member function 'virtual size_t LCD03::write(const uint8_t*, size_t)':
.pio/libdeps/nodemcuv2/LCD03/LCD03.cpp:136:20: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'unsigned int'} [-Wsign-compare]
  136 |   for(int i = 0; i < size; i++) {
      |                  ~~^~~~~~
.pio/libdeps/nodemcuv2/LCD03/LCD03.cpp: In member function 'uint8_t LCD03::bufferFreeBytes()':
.pio/libdeps/nodemcuv2/LCD03/LCD03.cpp:100:1: error: control reaches end of non-void function [-Werror=return-type]
  100 | }
      | ^
cc1plus: some warnings being treated as errors
*** [.pio/build/nodemcuv2/lib676/LCD03/LCD03.cpp.o] Error 1
============================================== [FAILED] Took 11.86 seconds ==============================================

Environment    Status    Duration
-------------  --------  ------------
nodemcuv2      FAILED    00:00:11.864
========================================= 1 failed, 0 succeeded in 00:00:11.864 =========================================

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.