config.h.in

Fri, 11 Mar 2016 20:27:02 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 11 Mar 2016 20:27:02 +0100
changeset 492
750f2468dec5
parent 443
6b80a37fdf8d
child 497
18ace27338e5
permissions
-rw-r--r--

Changed PID code. PID parameters are now stored 3 digits instead of 2 behind the decimal point. Prevent extreme heating or cooling in Beer mode. Heat and Cool lockdown now allows the lagest value to win instead of zero them both. PID output treshold from 2% to 50%.

/* 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 <SDL/SDL.h> header file. */
#undef HAVE_SDL_SDL_H

mercurial