23 lines
400 B
C
23 lines
400 B
C
|
#ifndef _TWINMAX_H_DEF_
|
||
|
#define _TWINMAX_H_DEF_
|
||
|
|
||
|
#include "sensors.h"
|
||
|
|
||
|
#include <Wire.h>
|
||
|
#include "SSD1306Ascii.h"
|
||
|
#include "SSD1306AsciiWire.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
|