Giter Site home page Giter Site logo

pehshuwei / leds-pixel-display Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 2.22 MB

A 10x10 pixels IoT display that can be controlled through a webpage.

Home Page: https://www.pehshuwei.me/projects/pixeldisplay

License: MIT License

C++ 100.00%
c espresso-lite iot

leds-pixel-display's People

Contributors

pehshuwei avatar

Stargazers

 avatar

Forkers

chanjuping

leds-pixel-display's Issues

cLEDMatrix' does not name a type

While compiling, I am getting the following error. What would you suggest I try?

Arduino: 1.8.5 (Linux), Board: "ESPresso Lite 2.0, 80 MHz, 4M (1M SPIFFS), ck, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from /home/rewarp/build/leds-pixel-display/Others/webserver_weather/webserver_weather.ino:9:0:
/home/rewarp/bin/libraries/FastLED/FastLED.h:17:21: note: #pragma message: FastLED version 3.001.007
 #    pragma message "FastLED version 3.001.007"
                     ^
In file included from /home/rewarp/bin/libraries/FastLED/FastLED.h:68:0,
                 from /home/rewarp/build/leds-pixel-display/Others/webserver_weather/webserver_weather.ino:9:
/home/rewarp/bin/libraries/FastLED/fastspi.h:110:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output
 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"
                       ^
In file included from /home/rewarp/build/leds-pixel-display/Others/webserver_weather/webserver_weather.ino:11:0:
/home/rewarp/bin/libraries/LEDText-master/LEDText.h:90:15: error: 'cLEDMatrixBase' has not been declared
     void Init(cLEDMatrixBase *Matrix, uint16_t Width, uint16_t Height, int16_t OriginX = 0, int16_t OriginY = 0);
               ^
In file included from /home/rewarp/build/leds-pixel-display/Others/webserver_weather/webserver_weather.ino:11:0:
/home/rewarp/bin/libraries/LEDText-master/LEDText.h:104:5: error: 'cLEDMatrixBase' does not name a type
     cLEDMatrixBase *m_Matrix;
     ^
webserver_weather:23: error: 'cLEDMatrix' does not name a type
 cLEDMatrix<MATRIX_WIDTH, MATRIX_HEIGHT, MATRIX_TYPE> text_leds;
 ^
/home/rewarp/build/leds-pixel-display/Others/webserver_weather/webserver_weather.ino: In function 'void setup()':
webserver_weather:78: error: 'text_leds' was not declared in this scope
     FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(text_leds[0], text_leds.Size());
                                                    ^
/home/rewarp/build/leds-pixel-display/Others/webserver_weather/webserver_weather.ino: In function 'void getWeatherData()':
webserver_weather:192: error: 'StaticJsonBuffer' was not declared in this scope
     StaticJsonBuffer<1024> json_buf;
     ^
/home/rewarp/build/leds-pixel-display/Others/webserver_weather/webserver_weather.ino:192:5: note: suggested alternative:
In file included from /home/rewarp/bin/libraries/ArduinoJson/src/ArduinoJson/StaticJsonDocument.hpp:8:0,
                 from /home/rewarp/bin/libraries/ArduinoJson/src/ArduinoJson.hpp:15,
                 from /home/rewarp/bin/libraries/ArduinoJson/src/ArduinoJson.h:9,
                 from /home/rewarp/build/leds-pixel-display/Others/webserver_weather/webserver_weather.ino:4:
/home/rewarp/bin/libraries/ArduinoJson/src/ArduinoJson/Memory/StaticJsonBuffer.hpp:110:7: note:   'ArduinoJson::Internals::StaticJsonBuffer'
 class StaticJsonBuffer : public Internals::StaticJsonBufferBase {
       ^
webserver_weather:192: error: 'json_buf' was not declared in this scope
     StaticJsonBuffer<1024> json_buf;
                            ^
/home/rewarp/build/leds-pixel-display/Others/webserver_weather/webserver_weather.ino: In function 'void displayWeather(float, String, int)':
webserver_weather:267: error: 'text_leds' was not declared in this scope
     FastLED.addLeds<CHIPSET, LED_PIN, COLOR_ORDER>(text_leds[0], text_leds.Size());
                                                    ^
exit status 1
'cLEDMatrix' does not name a type

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

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.