EPPL example libraries  0.1 alpha
 All Files Functions Variables Groups Pages
base/config.h

Basic configuration of the program.

#ifndef CONFIG_H_INCLUDED
#define CONFIG_H_INCLUDED
/* Include project dependent pinout file */
#include "pinout.h"
/* ========================================================================
* All values there are well documented in the modules that are using them
* See connected library module or generated documentation for more details.
*/
#define ALCD_DOutMode EPPL_mode_outPP
#define ALCD_DInMode EPPL_mode_inPU
#define ALCD_CtrlMode EPPL_mode_outPP
#define ALCD_SX 20
#define ALCD_SY 4
#define LED_ON_STATE EPPL_mode_outPP_0
#define LED_OFF_STATE EPPL_mode_outPP_1
#define SPWM_OUTPUTS_ALL \
(LED1R, LED_OFF_STATE, LED_ON_STATE), \
(LED1G, LED_OFF_STATE, LED_ON_STATE), \
(LED1B, LED_OFF_STATE, LED_ON_STATE)
#define SPWM_TOPCNT 255
/* ========================================================================
* Other values, that are not documented inside modules.
* All settings listed below are documented there - almost inline.
*/
#define ANIMATION_STEPS 64
#define ANIMATION_FRAME_TIME 0.5
#endif /* CONFIG_H_INCLUDED */