Closed BisSpaeterDannnoch closed 2 months ago
Du hast die falsche Version der INA226 Lib. Du musst die von mir hier nehmen, wie im Readme beschrieben. Ich habe aber mal aktuelle Binaries hochgeladen. Das Release v1.1.0 enthält die aktuellste Version. Viel Spaß.
Du bist so gut. Vielen Dank und eine gute Zeit!
kscholty @.***> schrieb am Fr., 12. Juli 2024, 20:42:
Du hast die falsche Version der INA226 Lib. Du musst die von mir hier nehmen, wie im Readme beschrieben. Ich habe aber mal aktuelle Binaries hochgeladen. Das Release v1.1.0 enthält die aktuellste Version. Viel Spaß.
— Reply to this email directly, view it on GitHub https://github.com/kscholty/SmartShuntINA226/issues/7#issuecomment-2226170400, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALYKQJOEQKB2E4RMOQ2UEX3ZMAPSNAVCNFSM6AAAAABKZKCUGWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWGE3TANBQGA . You are receiving this because you authored the thread.Message ID: @.***>
danke noch einmal. Es lebt jetzt auf einem D1 mini lite, hängt in meinem Netz und und belohnt mich alle 5 sec mit einem led-flash :) Nun warte ich auf die restlichen Bauteile von Ali. Gute Zeit.
Hi, what a nice project.
I have problemes compiling the code. May I please ask you to verify if it does in your enviroment (and me being dump)? Maybe an update gone wild after your last release...
In case in does, may ask you to upload a WemosD1 .bin file, so that I can go on with my project, until i sort out what's wrong with my enviroment.
Thank you very much and have a good time - Sven
Processing release_d1 (board: d1_mini; framework: arduino; platform: espressif8266)
Verbose mode can be enabled via
-v, --verbose
option CONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html PLATFORM: Espressif 8266 (4.2.1) > WeMos D1 R2 and mini HARDWARE: ESP8266 80MHz, 80KB RAM, 4MB Flash PACKAGES:~.pio\libdeps\release_d1\INA226/INA226.h:79:33: note: no known conversion for argument 1 from 'TwoWire' to 'uint8_t' {aka 'unsigned char'} 79 | explicit INA226(const uint8_t address, TwoWire *wire = &Wire); |~~~~^~~~~ .pio\libdeps\release_d1\INA226/INA226.h:75:7: note: candidate: 'constexpr INA226::INA226(const INA226&)' 75 | class INA226 | ^~.pio\libdeps\release_d1\INA226/INA226.h:75:7: note: no known conversion for argument 1 from 'TwoWire' to 'const INA226&' .pio\libdeps\release_d1\INA226/INA226.h:75:7: note: candidate: 'constexpr INA226::INA226(INA226&&)' .pio\libdeps\release_d1\INA226/INA226.h:75:7: note: no known conversion for argument 1 from 'TwoWire' to 'INA226&&' src\statusHandling.cpp: In member function 'void BatteryStatus::updateConsumption(float, float, uint16_t)': src\statusHandling.cpp:60:27: error: 'class RingBuf<float, 60>' has no member named 'isFull' 60 | if (currentValues.isFull()) { | ^~src\statusHandling.cpp:62:25: error: 'class RingBuf<float, 60>' has no member named 'pop' 62 | currentValues.pop(oldVal); | ^~~ src\statusHandling.cpp:65:23: error: 'class RingBuf<float, 60>' has no member named 'push' 65 | currentValues.push(current); | ^~~~ src\statusHandling.cpp:70:22: error: 'class RingBuf<float, 60>' has no member named 'isEmpty' 70 | if(currentValues.isEmpty()) { | ^~~