#include <unity.h>#include <Wire.h>#include <Adafruit_MotorShield.h>#include "diffbot_base_config.h"
Go to the source code of this file.
Functions | |
| void | loop () |
| void | motorSweep (Adafruit_DCMotor *motor) |
| void | setup () |
Variables | |
| Adafruit_MotorShield | AFMS = Adafruit_MotorShield(MOTOR_DRIVER_ADDR) |
| uint8_t | cycle = 0 |
| Adafruit_DCMotor * | leftMotor = AFMS.getMotor(MOTOR_LEFT) |
| uint8_t | max_loop_cycles = 1 |
| Adafruit_DCMotor * | rightMotor = AFMS.getMotor(MOTOR_RIGHT) |
| void loop | ( | ) |
Definition at line 96 of file test_adafruit_motorshieldv2.cpp.
| void motorSweep | ( | Adafruit_DCMotor * | motor | ) |
Definition at line 36 of file test_adafruit_motorshieldv2.cpp.
| void setup | ( | ) |
Definition at line 66 of file test_adafruit_motorshieldv2.cpp.
| Adafruit_MotorShield AFMS = Adafruit_MotorShield(MOTOR_DRIVER_ADDR) |
Definition at line 26 of file test_adafruit_motorshieldv2.cpp.
| uint8_t cycle = 0 |
Definition at line 93 of file test_adafruit_motorshieldv2.cpp.
| Adafruit_DCMotor* leftMotor = AFMS.getMotor(MOTOR_LEFT) |
Definition at line 33 of file test_adafruit_motorshieldv2.cpp.
| uint8_t max_loop_cycles = 1 |
Definition at line 94 of file test_adafruit_motorshieldv2.cpp.
| Adafruit_DCMotor* rightMotor = AFMS.getMotor(MOTOR_RIGHT) |
Definition at line 31 of file test_adafruit_motorshieldv2.cpp.