-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e352ae
commit 1a464f3
Showing
6 changed files
with
64 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#include "modules.hpp" | ||
|
||
|
||
namespace modules { | ||
BMP388 altimeter(I2C_PORT); | ||
BNO055 imu(I2C_PORT); | ||
LIS3DH accel(I2C_PORT); | ||
Si7021 therm(I2C_PORT); | ||
|
||
SD sd; | ||
RFM rfm; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
#ifndef MODULES_HPP_ | ||
#define MODULES_HPP_ | ||
|
||
#include "bmp388.hpp" | ||
#include "bno055.hpp" | ||
#include "lis3dh.hpp" | ||
#include "si7021.hpp" | ||
|
||
#include "../rfm/rfm.hpp" | ||
#include "../sd/sd.hpp" | ||
|
||
|
||
namespace modules { | ||
extern BMP388 altimeter; | ||
extern BNO055 imu; | ||
extern LIS3DH accel; | ||
extern Si7021 therm; | ||
|
||
extern SD sd; | ||
extern RFM rfm; | ||
}; | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters