2018-01-24 12:48:12 +01:00
|
|
|
/*
|
|
|
|
* defines.h
|
|
|
|
*
|
|
|
|
* Created on: Aug 20, 2017
|
|
|
|
* Author: wn
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef DEFINES_H_
|
|
|
|
#define DEFINES_H_
|
|
|
|
|
2018-02-01 17:22:34 +01:00
|
|
|
// #define DEBUG
|
2018-01-24 12:48:12 +01:00
|
|
|
|
|
|
|
#define EEPROM_ADDR 0
|
|
|
|
|
|
|
|
#define CONFIG_SWITCH 4
|
|
|
|
#define LED_PIN 14
|
|
|
|
|
2018-01-30 16:46:27 +01:00
|
|
|
// These both pins are connected via a 470k resistor.
|
|
|
|
// The insulated touchpad is connected to pin TOUCH_PIN_RECEIVE.
|
2018-02-01 16:25:14 +01:00
|
|
|
#if 1
|
2018-01-30 13:26:26 +01:00
|
|
|
#define TOUCH_PIN_RECEIVE 16
|
|
|
|
#define TOUCH_PIN_SEND 5
|
2018-02-01 16:25:14 +01:00
|
|
|
#endif
|
2018-01-24 12:48:12 +01:00
|
|
|
|
2018-02-01 16:25:14 +01:00
|
|
|
#if 0
|
|
|
|
#define TOUCH_PIN_RECEIVE 0
|
|
|
|
#define TOUCH_PIN_SEND 2
|
|
|
|
#endif
|
2018-01-24 12:48:12 +01:00
|
|
|
|
|
|
|
#endif /* DEFINES_H_ */
|