Example for the IRPyro TO. Single and multiple sensor configuration to enable to operator to collect samples. Example to show how to change configuration parameter of a single sensor.
More...
Example for the IRPyro TO. Single and multiple sensor configuration to enable to operator to collect samples. Example to show how to change configuration parameter of a single sensor.
- Author
- _KEMET, Ltd
- Date
- March 2018
- Version
- Release 1.0.0
- Copyright
- (c) 2018 _KEMET, Ltd
===============================================================================
##### How to use this example #####
===============================================================================
[..]
Requirements
(#) IRPyro API: (IRPyroAPI.c)
(#) IRPyro TO, IRPyro Base Board (IRPB_027)(See _KEMET website)
(#) RealTerm : Serial terminal or similar to messages or capture data into a file
(#) 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
(#) 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_for_TO.c.