boustrophedon / eink-esp-weather-display Goto Github PK
View Code? Open in Web Editor NEWcode for weather display using waveshare esp32 and 7.5" epaper display
Home Page: https://harrystern.net/halldisplay.html
code for weather display using waveshare esp32 and 7.5" epaper display
Home Page: https://harrystern.net/halldisplay.html
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?
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.