#define FW_NAME "sensoresp" //gets printed on topic/$fw/name
#define FW_VERSION "1.0.0" //gets printed on topic/$fw/version
#ifdef SENSOR_LDR
intget_lux(constunsignedint*_in,constunsignedint*_out,bytesize);//for analog ldr light calculation
#endif
structsensordata
{
@ -92,6 +77,7 @@ struct sensordata
staticconstunsignedintout_ldr[]={0,30,50,60,130,170,250,420,780,1300,2600,5000,5350,7700,10900,12000,17000,20000};// x10 (i.e. gets later divided by 10)