generated from TDD-Templates/cmake_cpputest_template
Compare commits
No commits in common. "ad48a00b03b53f0d3682bad2168a0da27ddf0c21" and "6aa800ddc2624d5f039604fc489cb5f0d5f56a19" have entirely different histories.
ad48a00b03
...
6aa800ddc2
2 changed files with 1 additions and 20 deletions
|
|
@ -8,8 +8,6 @@
|
||||||
#include <FastLED.h> // Library to control the LED ring (WS2812)
|
#include <FastLED.h> // Library to control the LED ring (WS2812)
|
||||||
#include <TinyGPS++.h> // Library to handle GPS data
|
#include <TinyGPS++.h> // Library to handle GPS data
|
||||||
#include <SoftwareSerial.h> // Software serial for GPS communication
|
#include <SoftwareSerial.h> // Software serial for GPS communication
|
||||||
#include <RH_RF95.h> //
|
|
||||||
|
|
||||||
|
|
||||||
// MAGNETOMETER (LIS2MDL) CONFIGURATION
|
// MAGNETOMETER (LIS2MDL) CONFIGURATION
|
||||||
Adafruit_LIS2MDL lis2mdl = Adafruit_LIS2MDL(12345); // Create magnetometer object
|
Adafruit_LIS2MDL lis2mdl = Adafruit_LIS2MDL(12345); // Create magnetometer object
|
||||||
|
|
@ -31,13 +29,6 @@ CRGB leds[NUM_LEDS]; // Array to hold LED colors
|
||||||
SoftwareSerial gpsSerial(GPS_RX_PIN, GPS_TX_PIN); // Software serial for GPS
|
SoftwareSerial gpsSerial(GPS_RX_PIN, GPS_TX_PIN); // Software serial for GPS
|
||||||
TinyGPSPlus gps; // TinyGPS++ object to process GPS data
|
TinyGPSPlus gps; // TinyGPS++ object to process GPS data
|
||||||
|
|
||||||
// Radio defines
|
|
||||||
#define RFM95_CS 8
|
|
||||||
#define RFM95_INT 7
|
|
||||||
#define RFM95_RST 4
|
|
||||||
#define RF95_FREQ 915.0
|
|
||||||
|
|
||||||
|
|
||||||
// Variables
|
// Variables
|
||||||
static int prevHeading = -1; // Store previous heading to avoid frequent updates
|
static int prevHeading = -1; // Store previous heading to avoid frequent updates
|
||||||
unsigned long lastUpdate = 0; // Time tracking for updates
|
unsigned long lastUpdate = 0; // Time tracking for updates
|
||||||
|
|
|
||||||
12
README.md
12
README.md
|
|
@ -15,14 +15,7 @@
|
||||||
|
|
||||||
### Main Project
|
### Main Project
|
||||||
|
|
||||||
**Using Arduino IDE**
|
**To be added**
|
||||||
|
|
||||||
1. Install the Arduino IDE if not installed.
|
|
||||||
2. Using the library manager in the IDE install the dependencies.
|
|
||||||
3. Connect the micro-controller
|
|
||||||
4. Select your development boards version and connection under the drop-down.
|
|
||||||
5. Click the Upload button to flash the program.
|
|
||||||
|
|
||||||
|
|
||||||
### Tests
|
### Tests
|
||||||
|
|
||||||
|
|
@ -80,7 +73,4 @@ tree -L 1
|
||||||
|
|
||||||
6 directories, 7 files
|
6 directories, 7 files
|
||||||
```
|
```
|
||||||
## Project Dependencies
|
|
||||||
|
|
||||||
- RadioHead RFM9x Library
|
|
||||||
- TinyGPS++
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue