Examples of single sensor and multiple sensor streaming. Also IOCTL of a single sensor.
More...
Examples of single sensor and multiple sensor streaming. Also IOCTL of a single sensor.
- Author
- _KEMET, Ltd
- Date
- March 2018
- Version
- Release 1.0.6
- Copyright
- (c) 2018 _KEMET, Ltd
===============================================================================
##### How to use this example #####
===============================================================================
[..]
Requirements
(#) The IRPyro API (IRPyroAPI.c)
(#) IRPyro breakout board (IRPYxxxxx-B1), IRPyro Base Board (dIRBB01) or
an IRPyro demo kit for motion, gas or flame. (See _KEMET website)
(#) Keil compiler version 5 onwards (https://www.keil.com/download/product/)
to build this example.
(#) C99 option enabled on the compiler to support initialization macros.
(#) The STM32 Standard Peripheral Library, see:
(http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32-standard-peripheral-libraries.html)
[..]
(#) See Micro_controller_template.c for details on how to configure SDA,SCL
INT and CS lines values.
(#) Create a variable of IRPyro_sensor_device_type
(#) Assign the values of the port and pin for the CS and INT lines
(#) Fill the AFE, CCP, and WUP registers with the desired values
(#) Compile, load and run.
(#) Display collected data on RealTerm or equivalent
- Attention
© COPYRIGHT 2018 _KEMET, Ltd
Copyright (c) 2018, _KEMET, Ltd
All rights reserved.
THIS SOFTWARE IS PROVIDED BY _KEMET, Ltd ''AS IS'' AND ANY
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL _KEMET, Ltd BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Definition in file main.c.