2 * http://ebus-wiki.org/lib/exe/fetch.php/ebus/arduinoebus.pdf
4 * I had to increase values to 47k and 10k on Vaillant boiler so that it doesn't
5 * draw 22V line down to 9V
7 * A0 --*--[47k]--- EBUS+
11 * GND -*------------ EBUS-
13 * D13 -> serial RX -> D1
19 int treshold = ((9.0*1023.0)/20.02);
24 // Serial.begin(2400);
30 int inputvalue = analogRead(in);
31 if (inputvalue > treshold)