20 lines
343 B
C
20 lines
343 B
C
#ifndef _TWINMAX_H_DEF_
|
|
#define _TWINMAX_H_DEF_
|
|
|
|
#include "sensors.h"
|
|
#include "display.h"
|
|
|
|
#define PUSH_BTN_PIN 7
|
|
#define POTENTIOMETER_PIN A0
|
|
#define PRESSURE_LEFT A1
|
|
#define PRESSURE_RIGHT A2
|
|
|
|
#define DISP_DATA A4
|
|
#define DISP_CLCK A5
|
|
#define DISP_ADDR 0x3C
|
|
|
|
enum Mode { RELATIVE, ABSOLUTE };
|
|
Mode mode = ABSOLUTE;
|
|
|
|
#endif
|