 |
Fraise
2.1
FRAmework for Interfacing Software and Electronics
|
Go to the documentation of this file.
54 #error you must define DIMMER_INTPIN before calling dimmer.h
57 #ifndef DIMMER_INTEDGE
59 #define DIMMER_INTEDGE 1
64 #define DIMMER_TIMER 5
93 #define DIMMER_TMIN 9000UL
97 #define DIMMER_INTPRI 1
123 void dimmerSet(
unsigned char num,
unsigned int val);
147 void dimmerPrintDebug();
void dimmerSet(unsigned char num, unsigned int val)
Set the value of a dimmer channel.
void dimmerReceive()
Module receive function, to be called by the fraiseReceive() user defined function.
void dimmerInit(void)
Init the module in setup()
void dimmerHighInterrupt(void)
Module high interrupt routine, must be called by the highInterrupts() user defined function.
void dimmerLowInterrupt(void)
Module low interrupt routine, must be called by the lowInterrupts() user defined function.
void dimmerService(void)
Module service routine, to be called by the main loop().