thermometers/main.c

changeset 45
053c4657105f
parent 40
dafbbd5e9922
equal deleted inserted replaced
44:f37d73940699 45:053c4657105f
362 */ 362 */
363 mosquitto_loop_start(mosq); 363 mosquitto_loop_start(mosq);
364 sprintf(buf, "1"); 364 sprintf(buf, "1");
365 rc = mosquitto_publish(mosq, &mid_sent, state, strlen(buf), buf, qos, 1); 365 rc = mosquitto_publish(mosq, &mid_sent, state, strlen(buf), buf, qos, 1);
366 #ifdef HAVE_WIRINGPI_H 366 #ifdef HAVE_WIRINGPI_H
367 setBacklight(0); 367 // setBacklight(0);
368 #endif 368 #endif
369 369
370 /* 370 /*
371 * Report alias names 371 * Report alias names
372 */ 372 */

mercurial