Skip to content

Commit

Permalink
Oops, accidentally changed defaults. Fixed now.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sammy1Am committed May 27, 2018
1 parent 8a48314 commit ec60aca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Arduino/Moppy/MoppyConfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_ */
8 changes: 4 additions & 4 deletions Arduino/Moppy/MoppyCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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,
Expand Down

0 comments on commit ec60aca

Please sign in to comment.