First working multiplayer version
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#ifndef SETTINGS_H
|
||||
#define SETTINGS_H
|
||||
#define SETTINGS_H
|
||||
|
||||
#include <EEPROM.h>
|
||||
#include "sound.h"
|
||||
@@ -12,7 +12,7 @@
|
||||
#define EEPROM_SIZE 256
|
||||
|
||||
// LEDS
|
||||
#define NUM_LEDS 144
|
||||
#define NUM_LEDS 288
|
||||
#define MIN_LEDS 60
|
||||
|
||||
|
||||
@@ -34,10 +34,16 @@ const uint8_t LIVES_PER_LEVEL = 3; // default lives per level
|
||||
#define MIN_ATTACK_THRESHOLD 20000
|
||||
#define MAX_ATTACK_THRESHOLD 30000
|
||||
|
||||
#define leftButtonPinNumber 26
|
||||
#define rightButtonPinNumber 18
|
||||
#define upButtonPinNumber 19
|
||||
#define downButtonPinNumber 23
|
||||
#define leftButtonPinNumber1 5
|
||||
//define rightButtonPinNumber1 6
|
||||
#define upButtonPinNumber1 6
|
||||
#define downButtonPinNumber1 7
|
||||
|
||||
#define leftButtonPinNumber2 1
|
||||
//define rightButtonPinNumber 2
|
||||
#define upButtonPinNumber2 3
|
||||
#define downButtonPinNumber2 4
|
||||
|
||||
|
||||
|
||||
#define DEFAULT_JOYSTICK_DEADZONE 8 // Angle to ignore
|
||||
@@ -49,7 +55,7 @@ const uint8_t LIVES_PER_LEVEL = 3; // default lives per level
|
||||
#define MIN_VOLUME 0
|
||||
#define MAX_VOLUME 255
|
||||
|
||||
#define DAC_AUDIO_PIN 25 // should be 25 or 26 only
|
||||
#define DAC_AUDIO_PIN 20 // should be 25 or 26 only
|
||||
|
||||
enum ErrorNums{
|
||||
ERR_SETTING_NUM,
|
||||
|
||||
Reference in New Issue
Block a user