GamerBene19
GamerBene19
Quick update before I go to bed: I got a temperature out of the ESP successfully. I'll try to create a PR in the next few days.
As mentioned previously I got a temperature reading. I used this (very basic PoC) code to accomplish that: ```Rust use std::{thread::sleep, time::Duration}; use esp_idf_sys::{ soc_periph_temperature_sensor_clk_src_t_TEMPERATURE_SENSOR_CLK_SRC_DEFAULT, temperature_sensor_config_t, temperature_sensor_enable, temperature_sensor_get_celsius, temperature_sensor_handle_t, temperature_sensor_install,...
> Regarding the imports: > Since the latest minor releases we changed how a binary can interact with esp-idf-sys/hal/svc. Previously the bin crate depended on all 3 crates. With our...
> Still make sure you don't pull the multiple versions of esp-idf-sys. Sorry, forget to mention. Output of the cargo tree command was/is ``` │ ├── esp-idf-hal v0.42.5 (/path/to/parent/esp-idf-hal) alloc,atomic-waker,binstart,critical-section,embassy-sync,esp-idf-sys,native,std...
> Is this an rust-analyzer error or this error comes up when you try to compile it? Errors come up when trying to build with `cargo build` in `temp-sensor-driver` and...
> you are currently developing it for the esp32 right? No, ESP32C3 (atm; long term goal is for it to work on all esp32's that have the internal temp-sensor). Sorry,...
> Even if its not currently able to build you can create a draft PR, so i can see what you are doing more clearly. 😸 Sure, I'll quickly do...
> i experienced a similar issue my fix was to add > > import_profile: "sRGB".into(), export_profile: "sRGB".into(), > > to &ops::ThumbnailImageOptions That worked. Thank you very much!