Turned LCD backlight off for now

Sat, 03 May 2014 23:21:00 +0200

author
Michiel Broek <mbroek@mbse.eu>
date
Sat, 03 May 2014 23:21:00 +0200
changeset 19
eaa03048c269
parent 18
3f4823083b9d
child 20
f7f9463cdefd

Turned LCD backlight off for now

thermometers/main.c file | annotate | diff | comparison | revisions
--- a/thermometers/main.c	Fri May 02 23:24:44 2014 +0200
+++ b/thermometers/main.c	Sat May 03 23:21:00 2014 +0200
@@ -359,6 +359,9 @@
     mosquitto_loop_start(mosq);
     sprintf(buf, "1");
     rc = mosquitto_publish(mosq, &mid_sent, state, strlen(buf), buf, qos, 1);
+#ifdef HAVE_WIRINGPI_H
+    setBacklight(0);
+#endif
 
     /*
      * Report alias names

mercurial