TouchSwitch/defines.h

31 lines
474 B
C
Raw Normal View History

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.
#if 1
#define TOUCH_PIN_RECEIVE 16
#define TOUCH_PIN_SEND 5
#endif
2018-01-24 12:48:12 +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_ */