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
C Driver for the IC-20948 9-Axis Telemetry sensor. This driver can be included directly into a developers source or a static library can be created and then linked against. Development is done on the **dev** branch, and official releases can be found on the **master** branch. Releases will be made on a ~monthly basis assuming no driver breaking bugs are found. Otherwise, a fix will be released to **master** ASAP.
7
+
8
+
## Currently supported features
9
+
The currently supported features are below. The API is written to greatly simplify the implementation of this IC, and thus only a small amount of control is given to the end-user. In the future, settings/config will be added to allow a user to change sample rates, resolution and more for each sensor in this part.
5
10
</br>
6
-
C Driver for the IC-20948 9-Axis Telemetry sensor. This driver can be included directly into a developers source or a static library can be created and then linked against.
7
-
</br></br>
8
-
Development is done on the *dev* branch, and official releases can be found on the *master* branch. Releases will be made on a ~monthly basis assuming no driver breaking bugs are found. Otherwise, a fix will be released to *master* ASAP.
11
+
Currently supported features:
12
+
* Accel
13
+
* +-2G
14
+
* +-4G
15
+
* +-8G
16
+
* +-16G
17
+
* Gyro
18
+
* +-250DPS
19
+
* +-500DPS
20
+
* +-1000DPS
21
+
* +-2000DPS
9
22
10
23
## Retrieving the Source
11
-
The source is located on Github and can be either downloaded and included directly into a developers source directoriy or the developer can add this repo as a submodule into their source (The latter is the preferred method).
24
+
The source is located on Github and can be either downloaded and included directly into a developers source OR the developer can add this repo as a submodule into their project directory (The latter is the preferred method).
To create a static library to link against, you must first source your build environment and ensure the **CC** environment variable is set to your desired toolchain. Once your cross-compiler is properly setup. Execute the following commands:
34
+
To create a static library to link against, you must first source your build environment and ensure the **CC** environment variable is set to your desired toolchain. Below is an example of sourcing the **AVR** toolchain before compiling.
35
+
```bash
36
+
$ export CC=/usr/bin/avr-gcc
37
+
$ export CXX=/usr/bin/avr-g++
38
+
```
39
+
40
+
Once your cross-compiler is properly setup. Execute the following commands:
22
41
```bash
23
42
$ mkdir build &&cd build
24
43
$ cmake ..
@@ -53,15 +72,15 @@ Example application and main can be found below:
0 commit comments