config.h.in

Thu, 10 Jan 2019 16:33:42 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Thu, 10 Jan 2019 16:33:42 +0100
changeset 569
9c69d43bfb06
parent 497
18ace27338e5
child 637
21e542c15832
permissions
-rw-r--r--

Version 0.9.0. Implemented DCMD via mqtt to set stage, mode, setpoint low and high. Implemeted DCMD via mqtt to set heater, cooler, fan and light state. Implemented DCMD via mqtt to set product code and name. Set the PID's in fridge mode without idle range offset, that was an old leftover setting that was obsolete.

/* config.h.in.  */

#undef COPYRIGHT
#undef VERSION

/*
 * Socket LCD protocol bits
 */
#define SLCD_NULL       0x0000
#define SLCD_CLEAR      0x0001
#define SLCD_MCLEAR     0x1fff
#define SLCD_HOME       0x0002
#define SLCD_MHOME      0x1ffe
#define	SLCD_CGRAM	0x0040
#define	SLCD_MCGRAM	0x1fc0
#define SLCD_DGRAM      0x0080
#define SLCD_MDGRAM     0x1f80
#define SLCD_DATA       0x0200
#define SLCD_MDATA      0x1e00
#define SLCD_LEDS       0x0400
#define SLCD_MLEDS      0x1c00
#define SLCD_KEYS       0x0800
#define SLCD_MKEYS      0x1800
#define SLCD_MDEV       0xe000

/*
 * Socket LEDs bits
 */
#define SLED_LCD        0x0001          /* LCD backlight                */
#define SLED_TFLED      0x0002          /* Thermferm LED                */
#define SLED_HLTH       0x0004          /* HLT heater LED               */
#define SLED_MLTH       0x0008          /* MLT heater LED               */
#define SLED_MLTP       0x0010          /* MLT pump/mixer               */
#define SLED_BUZZER     0x0080          /* Buzzer                       */

/*
 * Network
 */
#define SEND_PORT       6554


/* Compile experimental code (may not be present) */
#undef USE_EXPERIMENT

/* Compile simulator code */
#undef USE_SIMULATOR

/* According to Sun we MUST define this in the source */
#define _REENTRANT 1

/* Define if you have the <wiringPi.h> header file. */
#undef HAVE_WIRINGPI_H

/* Define if you have the <mosquitto.h> header file. */
#undef HAVE_MOSQUITTO_H

/* Define if you have the <SDL/SDL.h> header file. */
#undef HAVE_SDL_SDL_H

mercurial