Skip to content

Commit 96d7040

Browse files
committed
new folder structure
1 parent 4dcd9d8 commit 96d7040

File tree

7 files changed

+6
-5
lines changed

7 files changed

+6
-5
lines changed

src/Arduino_Robot_Firmware.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
#define __ARDUINO_ROBOT_FIRMWARE_H__
2222

2323
#include "Arduino.h"
24-
#include "pinout_definitions.h"
25-
#include "encoder.h"
24+
#include "./definitions/pinout_definitions.h"
25+
#include "./motor_control/encoder.h"
2626
#include "rgb_led.h"
27-
#include "dcmotor.h"
28-
#include "motor_control.h"
27+
#include "./motor_control/dcmotor.h"
28+
#include "./motor_control/motor_control.h"
2929
#include "Arduino_APDS9960.h"
3030
#include <Servo.h>
3131
#include "Arduino_MAX17332.h"
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/motor_control.h renamed to src/motor_control/motor_control.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@
2323
#include "Arduino.h"
2424
#include "dcmotor.h"
2525
#include "encoder.h"
26-
#include "robot_definitions.h"
26+
#include "../definitions/robot_definitions.h"
2727
#include "pid_controller.h"
2828

2929
#define CONTROL_LIMIT 4095
3030
#define MEM_SIZE 5
3131
#define CONTROL_MODE_NORMAL 0
3232
#define CONTROL_MODE_LINEAR 1
3333

34+
3435
class MotorControl{
3536
private:
3637

File renamed without changes.

0 commit comments

Comments
 (0)