#include "main.h"
#include <Adafruit_LIS3DH.h>
#include <Adafruit_Sensor.h>
#include <Arduino.h>
#include <SPI.h>
Go to the source code of this file.
◆ lis()
◆ lis_spi()
| SPIClass lis_spi |
( |
FSPI | | ) |
|
|
static |
◆ loop()
◆ onInterrupt()
| void IRAM_ATTR onInterrupt |
( |
| ) |
|
◆ setup()
Definition at line 16 of file main.cpp.
References ACCEL_ODR, ACCEL_RANGE, delay(), HEX, INPUT, INT1_DUR_VALUE, INT1_THS_VALUE, INTERRUPT_DURATION_COUNTS, INTERRUPT_THRESHOLD_G, lis, LIS3DH_CLK_PIN, LIS3DH_CS_PIN, LIS3DH_INT1_PIN, LIS3DH_MISO_PIN, LIS3DH_MOSI_PIN, LIS3DH_RANGE_16_G, LIS3DH_RANGE_2_G, LIS3DH_RANGE_4_G, LIS3DH_RANGE_8_G, lis_spi(), onInterrupt(), pinMode(), and Serial.
◆ g_interrupt_flag
| volatile bool g_interrupt_flag = false |
|
static |