Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 008-TankPlant/LEDBarHack/lib/CL_DRV8835/CL_DRV8835.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "Arduino.h"
#include "CL_DRV8835.h"
#include <Configuration.h>
#include "Configuration.h"
#include <PinDefinitions.h>

CL_DRV8835::CL_DRV8835(int leftSpeedPin, int leftDirPin, int rightSpeedPin, int rightDirPin) {
Expand Down
2 changes: 1 addition & 1 deletion 008-TankPlant/LEDBarHack/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ lib_deps =
fastled/FastLED@^3.9.16
; extra_scripts = extra_script.py

build_flags = -w -Iinclude -Wno-unknown-pragmas
build_flags = -w -Isrc -Iinclude -Wno-unknown-pragmas
2 changes: 1 addition & 1 deletion 008-TankPlant/LEDBarHack/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ SOFTWARE.

// Many of the basic behaviors of the robot can be changed with the parameters stored in this header file.
// Open it up to see what you can change!
#include <Configuration.h>
#include "Configuration.h"

#include <CL_DRV8835.h> // Provides an interface for using the DRV8835 motor driver to manuever the tank chassis
#include <OneButton.h> // Handles button debouncing and interpretation
Expand Down
2 changes: 1 addition & 1 deletion 008-TankPlant/MoistureSensorCalibration/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ lib_deps =

; extra_scripts = extra_script.py

build_flags = -w -Iinclude -Wno-unknown-pragmas
build_flags = -w -Isrc -Iinclude -Wno-unknown-pragmas
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ constexpr uint8_t LIGHT_CAL_SPIN_SPEED = 140; // spin at speed of 140 during c


// constants for changing when the robot notices that it's spinning in circles and parks.
constexpr uint16_t MIN_PARK_TIME = 10
constexpr uint16_t MIN_PARK_TIME = 10;
constexpr uint16_t MAX_PARK_TIME = 20; // minimum and maximum park times in seconds. defaults to 10-20 so you can see all behavior
constexpr uint8_t PARKING_THRESHOLD_ANGLE = 65; // heading angle used as threshold in the spinningInCircles() function
constexpr uint8_t MOISTURE_SAMPLING_PERIOD = 10; // sample the moisture every 10 seconds. also prints state to LED matrix at this interval in PARK
Expand Down
2 changes: 1 addition & 1 deletion 008-TankPlant/MoistureSensorCalibration/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ SOFTWARE.

// Many of the basic behaviors of the robot can be changed with the parameters stored in this header file.
// Open it up to see what you can change!
#include <Configuration.h>
#include "Configuration.h"

#include <CL_ADCTouch.h> // Performs capacitive sensing using a single ADC pin

Expand Down
39 changes: 0 additions & 39 deletions 008-TankPlant/ServoHack/include/README

This file was deleted.

2 changes: 1 addition & 1 deletion 008-TankPlant/ServoHack/lib/CL_DRV8835/CL_DRV8835.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "Arduino.h"
#include "CL_DRV8835.h"
#include <Configuration.h>
#include "Configuration.h"
#include <PinDefinitions.h>

CL_DRV8835::CL_DRV8835(int leftSpeedPin, int leftDirPin, int rightSpeedPin, int rightDirPin) {
Expand Down
46 changes: 0 additions & 46 deletions 008-TankPlant/ServoHack/lib/README

This file was deleted.

2 changes: 1 addition & 1 deletion 008-TankPlant/ServoHack/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ lib_deps =

;extra_scripts = extra_script.py

build_flags = -w -Iinclude -Wno-unknown-pragmas
build_flags = -w -Isrc -Iinclude -Wno-unknown-pragmas
2 changes: 1 addition & 1 deletion 008-TankPlant/ServoHack/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ SOFTWARE.

// Many of the basic behaviors of the robot can be changed with the parameters stored in this header file.
// Open it up to see what you can change!
#include <Configuration.h>
#include "Configuration.h"

#include <CL_DRV8835.h> // Provides an interface for using the DRV8835 motor driver to manuever the tank chassis
#include <OneButton.h> // Handles button debouncing and interpretation
Expand Down
39 changes: 0 additions & 39 deletions 008-TankPlant/SnakeGame/include/README

This file was deleted.

46 changes: 0 additions & 46 deletions 008-TankPlant/SnakeGame/lib/README

This file was deleted.

2 changes: 1 addition & 1 deletion 008-TankPlant/SnakeGame/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ lib_deps =

;extra_scripts = extra_script.py

build_flags = -w -Iinclude -Wno-unknown-pragmas
build_flags = -w -Isrc -Iinclude -Wno-unknown-pragmas
2 changes: 1 addition & 1 deletion 008-TankPlant/StockCode/lib/CL_DRV8835/CL_DRV8835.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "Arduino.h"
#include "CL_DRV8835.h"
#include <Configuration.h>
#include "Configuration.h"
#include <PinDefinitions.h>

CL_DRV8835::CL_DRV8835(int leftSpeedPin, int leftDirPin, int rightSpeedPin, int rightDirPin) {
Expand Down
2 changes: 1 addition & 1 deletion 008-TankPlant/StockCode/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ lib_deps =

; extra_scripts = extra_script.py

build_flags = -w -Iinclude -Wno-unknown-pragmas
build_flags = -w -Isrc -Iinclude -Wno-unknown-pragmas
4 changes: 2 additions & 2 deletions 008-TankPlant/StockCode/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@

// Many of the basic behaviors of the robot can be changed with the parameters stored in this header file.
// Open it up to see what you can change!
#include <Configuration.h>

#include "Configuration.h"
#include <CL_DRV8835.h> // Provides an interface for using the DRV8835 motor driver to manuever the tank chassis
#include <OneButton.h> // Handles button debouncing and interpretation
#include <elapsedMillis.h> // A neat little wrapper library for timing functions
Expand Down
39 changes: 0 additions & 39 deletions 008-TankPlant/TouchpadHack/include/README

This file was deleted.

2 changes: 1 addition & 1 deletion 008-TankPlant/TouchpadHack/lib/CL_DRV8835/CL_DRV8835.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "Arduino.h"
#include "CL_DRV8835.h"
#include <Configuration.h>
#include "Configuration.h"
#include <PinDefinitions.h>

CL_DRV8835::CL_DRV8835(int leftSpeedPin, int leftDirPin, int rightSpeedPin, int rightDirPin) {
Expand Down
46 changes: 0 additions & 46 deletions 008-TankPlant/TouchpadHack/lib/README

This file was deleted.

2 changes: 1 addition & 1 deletion 008-TankPlant/TouchpadHack/platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ lib_deps =

; extra_scripts = extra_script.py

build_flags = -w -Iinclude -Wno-unknown-pragmas
build_flags = -w -Isrc -Iinclude -Wno-unknown-pragmas
2 changes: 1 addition & 1 deletion 008-TankPlant/TouchpadHack/src/CL_DRV8835.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "Arduino.h"
#include "CL_DRV8835.h"
#include <Configuration.h>
#include "Configuration.h"
#include <PinDefinitions.h>

CL_DRV8835::CL_DRV8835(int leftSpeedPin, int leftDirPin, int rightSpeedPin, int rightDirPin) {
Expand Down
Loading