From 0b603d4dfdc2acad1582e5556b73c8723e79e7b3 Mon Sep 17 00:00:00 2001 From: dexslab Date: Wed, 23 Sep 2020 22:49:18 -0400 Subject: [PATCH] Change motorshield back to whats in config, change from 1.2 version needed --- CommandStation-EX.ino | 2 +- platformio.ini | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CommandStation-EX.ino b/CommandStation-EX.ino index 48ee1fe..fc92ef5 100644 --- a/CommandStation-EX.ino +++ b/CommandStation-EX.ino @@ -188,7 +188,7 @@ void setup() // Optionally a Timer number (1..4) may be passed to DCC::begin to override the default Timer1 used for the // waveform generation. e.g. DCC::begin(STANDARD_MOTOR_SHIELD,2); to use timer 2 - DCC::begin(MOTOR_BOARD); + DCC::begin(MOTOR_SHIELD_TYPE); } void loop() diff --git a/platformio.ini b/platformio.ini index 0c91321..7160904 100644 --- a/platformio.ini +++ b/platformio.ini @@ -32,7 +32,7 @@ framework = arduino lib_deps = ${env.lib_deps} DIO2 - mathertel/LiquidCrystal_PCF8574 @ ^1.2.0 + mathertel/LiquidCrystal_PCF8574 [env:mega328] platform = atmelavr @@ -57,4 +57,4 @@ framework = arduino lib_deps = ${env.lib_deps} DIO2 - mathertel/LiquidCrystal_PCF8574 @ ^1.2.0 + mathertel/LiquidCrystal_PCF8574