GithubHelp home page GithubHelp logo

boustrophedon / eink-esp-weather-display Goto Github PK

View Code? Open in Web Editor NEW
131.0 131.0 5.0 3.21 MB

code for weather display using waveshare esp32 and 7.5" epaper display

Home Page: https://harrystern.net/halldisplay.html

Just 1.18% Rust 98.82%

eink-esp-weather-display's People

Contributors

boustrophedon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

eink-esp-weather-display's Issues

Why use `VarDisplay` instead of `Display7in5::default()`?

I apologize that this is not an issue about your project, but hopefully I can get your help. ๐Ÿ™

I am working on some projects using ESP32 + Waveshare 7.5_V2.
I am using the latest version of epd_waveshare.

I tried to create a display using Display7in5::default() but it never works, it's like ESP32 crashed.
However I found out that your code uses VarDisplay::new() to create the display manually, so I tried that too and I found that it works.
I looked at the epd_waveshare source code and I can't understand why this is happening, and would like to ask you why you are using VarDisplay::new() instead of Display7in5::default(), and what's the rationale behind this?

compile error

Could not run / compile
what did I wrong ?

here is what I did:

$ git clone https://github.com/boustrophedon/eink-esp-weather-display/
$ cd eink-esp-weather-display/esp
$ . ~/export-esp.sh
$ cargo run

   Compiling epd-waveshare v0.5.0 (https://github.com/caemor/epd-waveshare?rev=f22b6e2c33173#f22b6e2c)
error[E0583]: file not found for module `config`
  --> src/main.rs:27:1
   |
27 | mod config;
   | ^^^^^^^^^^^
   |
   = help: to create the module `config`, create file "src/config.rs" or "src/config/mod.rs"

error[E0432]: unresolved imports `config::IMAGE_DATA_URL`, `config::WIFI_CONFIG_DATA`
  --> src/main.rs:31:14
   |
31 | use config::{IMAGE_DATA_URL, WIFI_CONFIG_DATA};
   |              ^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^ no `WIFI_CONFIG_DATA` in `config`
   |              |
   |              no `IMAGE_DATA_URL` in `config`

warning: unused import: `wifi::WifiConfig`
  --> src/main.rs:30:5
   |
30 | use wifi::WifiConfig;
   |     ^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

Some errors have detailed explanations: E0432, E0583.
For more information about an error, try `rustc --explain E0432`.
warning: `halldisplay-esp` (bin "halldisplay-esp") generated 1 warning
error: could not compile `halldisplay-esp` (bin "halldisplay-esp") due to 2 previous errors; 1 warning emitted


can not find: config.rs or mod.rs in the dir: eink-esp-weather-display

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.