31 lines
471 B
C
31 lines
471 B
C
/*
|
|
* defines.h
|
|
*
|
|
* Created on: Aug 20, 2017
|
|
* Author: wn
|
|
*/
|
|
|
|
#ifndef DEFINES_H_
|
|
#define DEFINES_H_
|
|
|
|
#define DEBUG
|
|
|
|
#define EEPROM_ADDR 0
|
|
|
|
#define CONFIG_SWITCH 4
|
|
#define LED_PIN 14
|
|
|
|
// 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
|
|
|
|
#if 0
|
|
#define TOUCH_PIN_RECEIVE 0
|
|
#define TOUCH_PIN_SEND 2
|
|
#endif
|
|
|
|
#endif /* DEFINES_H_ */
|