SensorLib 0.5.0
Multi-platform sensor driver library for Arduino, PlatformIO, and ESP-IDF
Loading...
Searching...
No Matches
aw86224_full.ino File Reference

@license MIT License More...

#include <HapticDrivers.hpp>
#include <SensorWireHelper.h>
Include dependency graph for aw86224_full.ino:

Go to the source code of this file.

Macros

#define SENSOR_SDA   20
 
#define SENSOR_SCL   21
 

Functions

void printBanner ()
 
void testCapabilities ()
 
void testInit ()
 
void testPlayEffect ()
 
void testPlayEffectAll ()
 
void testShortVibration ()
 
void testShortVibrationGain ()
 
void testShortVibrationLoop ()
 
void testContinuousVibration ()
 
void testLongVibrationBlocking ()
 
void testLongVibrationNonBlocking ()
 
void testWaveformSwitching ()
 
void testSetSequence ()
 
void testStop ()
 
void testStatus ()
 
void testIntensitySweep ()
 
void testAutoDemo ()
 
void printHelp ()
 
void setup ()
 
void loop ()
 

Variables

HapticDriver_AW86224 haptic
 

Detailed Description

@license MIT License

Copyright (c) 2026 lewis he

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Author
Lewis He (lewis.nosp@m.he@o.nosp@m.utloo.nosp@m.k.co.nosp@m.m)
Date
2026-04-07

Definition in file aw86224_full.ino.

Macro Definition Documentation

◆ SENSOR_SCL

#define SENSOR_SCL   21

Definition at line 38 of file aw86224_full.ino.

◆ SENSOR_SDA

#define SENSOR_SDA   20

Definition at line 34 of file aw86224_full.ino.

Function Documentation

◆ loop()

◆ printBanner()

void printBanner ( )

Definition at line 55 of file aw86224_full.ino.

Referenced by setup().

◆ printHelp()

void printHelp ( )

Definition at line 345 of file aw86224_full.ino.

Referenced by loop(), and setup().

◆ setup()

void setup ( )

◆ testAutoDemo()

◆ testCapabilities()

void testCapabilities ( )

Definition at line 64 of file aw86224_full.ino.

References HapticDriver_AW86224::getCapabilities(), and haptic.

Referenced by loop(), and setup().

◆ testContinuousVibration()

void testContinuousVibration ( )

◆ testInit()

◆ testIntensitySweep()

void testIntensitySweep ( )

Definition at line 273 of file aw86224_full.ino.

References haptic, and HapticDriver_AW86224::shortVibration().

Referenced by loop(), and testAutoDemo().

◆ testLongVibrationBlocking()

void testLongVibrationBlocking ( )

Definition at line 188 of file aw86224_full.ino.

References haptic, and HapticDriver_AW86224::longVibration().

Referenced by loop().

◆ testLongVibrationNonBlocking()

void testLongVibrationNonBlocking ( )

Definition at line 198 of file aw86224_full.ino.

References haptic, and HapticDriver_AW86224::longVibration().

Referenced by loop().

◆ testPlayEffect()

void testPlayEffect ( )

Definition at line 127 of file aw86224_full.ino.

References haptic, and HapticDriver_AW86224::playEffect().

Referenced by loop().

◆ testPlayEffectAll()

void testPlayEffectAll ( )

Definition at line 136 of file aw86224_full.ino.

References HapticDriver_AW86224::getRamNum(), haptic, i, and HapticDriver_AW86224::playEffect().

Referenced by loop().

◆ testSetSequence()

◆ testShortVibration()

void testShortVibration ( )

Definition at line 147 of file aw86224_full.ino.

References haptic, and HapticDriver_AW86224::shortVibration().

Referenced by loop().

◆ testShortVibrationGain()

void testShortVibrationGain ( )

Definition at line 155 of file aw86224_full.ino.

References haptic, i, and HapticDriver_AW86224::shortVibration().

Referenced by loop(), and testAutoDemo().

◆ testShortVibrationLoop()

void testShortVibrationLoop ( )

Definition at line 168 of file aw86224_full.ino.

References haptic, loop(), and HapticDriver_AW86224::shortVibration().

Referenced by loop().

◆ testStatus()

void testStatus ( )

Definition at line 256 of file aw86224_full.ino.

References CALIBRATING, ERROR, HapticDriver_AW86224::getStatus(), haptic, IDLE, PAUSED, PLAYING, and STANDBY.

Referenced by loop(), and testAutoDemo().

◆ testStop()

◆ testWaveformSwitching()

Variable Documentation

◆ haptic