Skip to content

Commit 22aa451

Browse files
committed
Update platformio.ini
1 parent 902c001 commit 22aa451

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

platformio.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ default_envs = arduino_nano
66
platform = atmelavr
77
framework = arduino
88
lib_deps =
9-
contrem/arduino-timer @ 3.0.0
10-
adafruit/Adafruit SSD1306 @ 2.5.7
9+
arduino-libraries/stepper @ 1.1.3
1110
check_tool = cppcheck
1211
check_flags =
1312
cppcheck: --suppress=*:*.pio\* --inline-suppr -DCPPCHECK

src/main.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@ String currentCommand;
1010
SoftwareSerial btCtrl(9, 10); // our RX, TX, hc06 TX, RX
1111
CapCtrl capCtrl(STEPS, A2, A3, A4, A5, BTN_STOP);
1212

13+
void println(const String &s)
14+
{
15+
Serial.println(s);
16+
btCtrl.println(s);
17+
}
18+
1319
void setup()
1420
{
1521
Serial.begin(115200);
@@ -20,12 +26,6 @@ void setup()
2026
capCtrl.park();
2127
}
2228

23-
void println(const String &s)
24-
{
25-
Serial.println(s);
26-
btCtrl.println(s);
27-
}
28-
2929
bool readChar(char &c)
3030
{
3131
bool found = true;

0 commit comments

Comments
 (0)