From ec60aca5c8f60cc6a05c17512eb5472f55ea8f7d Mon Sep 17 00:00:00 2001 From: SammyIAm Date: Sun, 27 May 2018 13:02:13 -0700 Subject: [PATCH] Oops, accidentally changed defaults. Fixed now. --- Arduino/Moppy/MoppyConfig.h | 4 ++-- Arduino/Moppy/MoppyCore.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Arduino/Moppy/MoppyConfig.h b/Arduino/Moppy/MoppyConfig.h index 3d53e23..5f5fbec 100644 --- a/Arduino/Moppy/MoppyConfig.h +++ b/Arduino/Moppy/MoppyConfig.h @@ -16,12 +16,12 @@ // Device address for this Arduino (only messages sent to this address // will be processed. -#define DEVICE_ADDRESS 0x02 +#define DEVICE_ADDRESS 0x01 // Minimum and maximum sub-addresses that messages will be processed for. // E.g. if you have 8 drives this would be 1 and 8. If you have 16, 1 and 16. #define MIN_SUB_ADDRESS 1 -#define MAX_SUB_ADDRESS 1 +#define MAX_SUB_ADDRESS 8 #endif /* SRC_MOPPYCONFIG_H_ */ diff --git a/Arduino/Moppy/MoppyCore.cpp b/Arduino/Moppy/MoppyCore.cpp index fcd05b5..21a4bb9 100644 --- a/Arduino/Moppy/MoppyCore.cpp +++ b/Arduino/Moppy/MoppyCore.cpp @@ -9,8 +9,8 @@ */ // Floppy drives directly connected to the Arduino's digital pins -//#include "src/MoppyInstruments/FloppyDrives.h" -//FloppyDrives instrument = FloppyDrives(); +#include "src/MoppyInstruments/FloppyDrives.h" +FloppyDrives instrument = FloppyDrives(); //Uncomment the 2 next lines and comment the 2 lines above this comment to switch to L298N mode @@ -19,8 +19,8 @@ // A single device (e.g. xylophone, drums, etc.) connected to shift registers -#include "src/MoppyInstruments/ShiftRegister.h" -ShiftRegister instrument = ShiftRegister(); +//#include "src/MoppyInstruments/ShiftRegister.h" +//ShiftRegister instrument = ShiftRegister(); /********** * MoppyNetwork classes receive messages sent by the Controller application,