diff --git a/MotorDrivers.h b/MotorDrivers.h index feea27e..cfb0dd8 100644 --- a/MotorDrivers.h +++ b/MotorDrivers.h @@ -100,4 +100,11 @@ new MotorDriver(6, 7, UNUSED_PIN, UNUSED_PIN, UNUSED_PIN, 1.0, 1100, UNUSED_PIN), \ new MotorDriver(5, 4, UNUSED_PIN, UNUSED_PIN, UNUSED_PIN, 1.0, 1100, UNUSED_PIN) +// This is an example how to setup a motor shield definition for a motor shield connected +// to an NANO EVERY board. You have to make the connectons from the shield to the board +// as in this example or adjust the values yourself. +#define NANOEVERY_EXAMPLE F("NANOEVERY_EXAMPLE"), \ + new MotorDriver(5, 6, UNUSED_PIN, UNUSED_PIN, A0, 2.99, 2000, UNUSED_PIN),\ + new MotorDriver(9, 10, UNUSED_PIN, UNUSED_PIN, A1, 2.99, 2000, UNUSED_PIN) + #endif diff --git a/defines.h b/defines.h index 01b270e..01a8075 100644 --- a/defines.h +++ b/defines.h @@ -40,7 +40,7 @@ // WIFI_ON: All prereqs for running with WIFI are met // Note: WIFI_CHANNEL may not exist in early config.h files so is added here if needed. -#if (defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560) || defined(ARDUINO_SAMD_ZERO) || defined(TEENSYDUINO)) +#if (defined(ARDUINO_AVR_MEGA) || defined(ARDUINO_AVR_MEGA2560) || defined(ARDUINO_SAMD_ZERO) || defined(TEENSYDUINO)) || defined(ARDUINO_AVR_NANO_EVERY) #define BIG_RAM #endif #if ENABLE_WIFI diff --git a/version.h b/version.h index 01326c6..2c32a9d 100644 --- a/version.h +++ b/version.h @@ -3,7 +3,7 @@ #include "StringFormatter.h" -#define VERSION "3.2.0 rc11" +#define VERSION "3.2.0 rc12" // 3.2.0 Major functional and non-functional changes. // New HAL added for I/O (digital and analogue inputs and outputs, servos etc). // Support for MCP23008, MCP23017 and PCF9584 I2C GPIO Extender modules. @@ -25,6 +25,7 @@ // Can define border between long and short addresses // Turnout and accessory states (thrown/closed = 0/1 or 1/0) can be set to match RCN-213 // Bugfix: one-off error in CIPSEND drop +// Compiles on Nano Every // ... // 3.1.7 Bugfix: Unknown locos should have speed forward // 3.1.6 Make output ID two bytes and guess format/size of registered outputs found in EEPROM