Browse Source

lock espressif version to 2.6.3 where hx711 still works with homie

master
interfisch 4 months ago
parent
commit
58884e71aa
  1. 3
      platformio.ini
  2. 22
      scale_hardware/scale_hardware.pro
  3. 3
      src/main.cpp

3
platformio.ini

@ -9,11 +9,10 @@ @@ -9,11 +9,10 @@
; https://docs.platformio.org/page/projectconf.html
[env:d1_mini]
platform = espressif8266
platform = espressif8266 @ 2.6.3
board = d1_mini
framework = arduino
monitor_speed= 115200
lib_deps =

22
scale_hardware/scale_hardware.pro

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
update=Di 16 Mär 2021 22:31:40 CET
update=Sa 10 Apr 2021 12:07:56 CEST
version=1
last_client=kicad
[general]
@ -12,16 +12,6 @@ NetIExt=net @@ -12,16 +12,6 @@ NetIExt=net
version=1
LibDir=
[eeschema/libraries]
[schematic_editor]
version=1
PageLayoutDescrFile=
PlotDirectoryName=
SubpartIdSeparator=0
SubpartFirstId=65
NetFmtName=Pcbnew
SpiceAjustPassiveValues=0
LabSize=50
ERC_TestSimilarLabels=1
[pcbnew]
version=1
PageLayoutDescrFile=
@ -250,3 +240,13 @@ uViaDrill=0.1 @@ -250,3 +240,13 @@ uViaDrill=0.1
dPairWidth=0.2
dPairGap=0.25
dPairViaGap=0.25
[schematic_editor]
version=1
PageLayoutDescrFile=
PlotDirectoryName=
SubpartIdSeparator=0
SubpartFirstId=65
NetFmtName=Pcbnew
SpiceAjustPassiveValues=0
LabSize=50
ERC_TestSimilarLabels=1

3
src/main.cpp

@ -91,7 +91,7 @@ unsigned long last_mqtt_send=0; @@ -91,7 +91,7 @@ unsigned long last_mqtt_send=0;
bool livesend=false; //if true, sends continuous data over mqtt
#define FW_NAME "scale"
#define FW_VERSION "0.0.1"
#define FW_VERSION "0.0.2"
void loopHandler();
@ -158,6 +158,7 @@ void setup() { @@ -158,6 +158,7 @@ void setup() {
Serial.println("setup");
scale.set_scale(SCALE_CALIBRATION);
Serial.println("set calibration");
delay(500);
scale.tare();
delay(2000);

Loading…
Cancel
Save