thermferm/rc-switch.h

Sun, 27 Dec 2015 17:52:26 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Sun, 27 Dec 2015 17:52:26 +0100
changeset 477
9167ad4c2e77
parent 213
2317b8d644fa
permissions
-rw-r--r--

Renamed Mash-in step to Prepare on the display. Don't run the pump when the mash is added. When preparing the mash, first heat the HLT, and then the MLT so that both have the chance to reach their target temperatures.

#ifndef	_RC_SWITCH_H
#define	_RC_SWITCH_H


#ifdef HAVE_WIRINGPI_H


/* rc-switch.c */
int  toggleSwitch(char *);
int  toggleTypeA(char *, char *, int);
int  toggleTypeB(int, int, int);
int  toggleTypeC(char, int, int, int);
int  toggleTypeE(char, int, int);

void enableReceiveIRQ(int interrupt);
void enableReceive(void);
void disableReceive(void);
int available(void);
void resetAvailable(void);

unsigned long getReceivedValue(void);
unsigned int getReceivedBitlength(void);
unsigned int getReceivedDelay(void);
unsigned int getReceivedProtocol(void);
unsigned int *getReceivedRawdata(void);

void enableTransmit(int);
void disableTransmit(void);

char *dec2binWzerofill(unsigned long, unsigned int);


#endif


#endif

mercurial