STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
example4_spi.ino File Reference
#include <SPI.h>
#include "STAR_ISM330DH.h"
Include dependency graph for example4_spi.ino:

Go to the source code of this file.

Functions

void setup ()
void loop ()

Variables

ISM330DH_SPI myISM
sfe_ism_data_t accelData
sfe_ism_data_t gyroData
byte chipSelect = 1

Function Documentation

◆ loop()

void loop ( )

Definition at line 89 of file example4_spi.ino.

References accelData, delay(), gyroData, myISM, and Serial.

◆ setup()

Variable Documentation

◆ accelData

sfe_ism_data_t accelData

Definition at line 33 of file example4_spi.ino.

◆ chipSelect

byte chipSelect = 1

Definition at line 37 of file example4_spi.ino.

Referenced by setup().

◆ gyroData

sfe_ism_data_t gyroData

Definition at line 34 of file example4_spi.ino.

◆ myISM

ISM330DH_SPI myISM

Definition at line 30 of file example4_spi.ino.