You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,15 @@ C++ Library for interfacing the ADS7828 AD-Converter with STM32 microcontrollers
10
10
- Averaging of the last N values for every channel (dynamic or static storage options)
11
11
12
12
# Usage
13
+
### Includes and Compilation
14
+
Include the Library via
15
+
```
16
+
#include "ADS7828.hpp"
17
+
```
18
+
Make sure to define which STM32 controller you are using! This is relevant for the selection of the HAL Library. You can select the MCU family with the `-D STM32F1` flag while compiling.
19
+
Or simply define it at the start of your code with `#define STM32F1`. Change accordingly for your STM32!
20
+
21
+
---
13
22
### Init
14
23
Create an ADS7828 object with an initialized I2C handle and the device address.
0 commit comments