NerfStatTrak/NerfStatTrekConfig.h
Mark van Renswoude ba58eb93c0 Moved away from proof of concepts, started prototyping for the final software
- Button library
- State handling and transitions
- Default state: dual counter display
- User unknown state: static for now
- Lost the game state: static for now
2016-12-04 19:53:43 +01:00

44 lines
611 B
C

#ifndef NerfStatTrekConfig_h
#define NerfStatTrekConfig_h
/**
* Display configuration
**/
#define NerfDigits 6
/**
* Display pin configuration
*
* Clock and data are used only when not using SPI,
* clock speed is only for SPI
**/
#define NerfLatchPin 10
#define NerfDataPin 11
#define NerfClockPin 12
#define NerfClockSpeed 1600000UL
/**
* Button configuration
**/
#define NerfButtonLongPressThreshold 1000
/**
* Button pin configuration
**/
#define NerfButtonA 3
#define NerfButtonB 2
#define NerfButtonArmed 4
/**
* Default state configuration
**/
#define NerfDefaultIntroTime 1000
#endif