+// flash 4M, CPU 160Mhz
+#include <ESP8266WiFi.h>
 #include <PubSubClient.h>
-#include <ESP8266WiFi.h>
 #include <Average.h>
 #include <pgmspace.h>
 #include <Wire.h>

//PubSubClient client(mqtt_server, 1883, callback, wifiClient);
PubSubClient client(mqtt_server, 1883, wifiClient);

void callback(char* topic, byte* payload, unsigned int length) {
  // handle message arrived
}

unsigned long startMills;


{
  m = !m;
}

void hx711IsReady()
{

