Skip to content

Commit 1330318

Browse files
committed
feat: add documentation link for unity
1 parent ff78f49 commit 1330318

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

diffbot_base/scripts/base_controller/test/adafruit_motorshieldv2/test_adafruit_motorshieldv2.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
*
1111
*/
1212

13+
// Include unity library
14+
// For details see https://docs.platformio.org/en/latest/plus/unit-testing.html#api
1315
#include <unity.h>
1416

1517
// The special bit of code in this example is the use of Arduino's Wire library.
@@ -75,6 +77,7 @@ void setup() {
7577

7678

7779
// Set the speed to start, from 0 (off) to 255 (max speed)
80+
Serial.println("setSpeed(150)");
7881
leftMotor->setSpeed(150);
7982
leftMotor->run(FORWARD);
8083
// turn on motor

0 commit comments

Comments
 (0)