Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: aconno_I2C Lis2dh12 WatchdogTimer
sensors.h
- Committer:
- pathfindr
- Date:
- 2019-08-09
- Revision:
- 56:efd9f5613549
- Parent:
- 9:b0a1535b8ef2
File content as of revision 56:efd9f5613549:
#ifndef SENSORS_H_
#define SENSORS_H_
#include "main.h"
//------------------------------------------------------------------------------
// ACCELEROMETER
//------------------------------------------------------------------------------
//PINS
extern DigitalIn lis3dh_int1;
extern DigitalIn lis3dh_int2;
//FUNCS
extern void lis3dh_configureForSleep(uint8_t motion_threshold, uint8_t impact_threshold);
//------------------------------------------------------------------------------
// TEMPERATURE
//------------------------------------------------------------------------------
#endif