mirror of
https://github.com/DCC-EX/CommandStation-EX.git
synced 2024-11-26 17:46:14 +01:00
Change motorshield back to whats in config, change from 1.2 version needed
This commit is contained in:
parent
3d94d8347a
commit
0b603d4dfd
|
@ -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
|
// 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
|
// 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()
|
void loop()
|
||||||
|
|
|
@ -32,7 +32,7 @@ framework = arduino
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
DIO2
|
DIO2
|
||||||
mathertel/LiquidCrystal_PCF8574 @ ^1.2.0
|
mathertel/LiquidCrystal_PCF8574
|
||||||
|
|
||||||
[env:mega328]
|
[env:mega328]
|
||||||
platform = atmelavr
|
platform = atmelavr
|
||||||
|
@ -57,4 +57,4 @@ framework = arduino
|
||||||
lib_deps =
|
lib_deps =
|
||||||
${env.lib_deps}
|
${env.lib_deps}
|
||||||
DIO2
|
DIO2
|
||||||
mathertel/LiquidCrystal_PCF8574 @ ^1.2.0
|
mathertel/LiquidCrystal_PCF8574
|
||||||
|
|
Loading…
Reference in New Issue
Block a user