<div align=center>
<img src="https://github.com/BestModules-Libraries/img/blob/main/BM32S3021-1_BMS31M002_V1.0.png" width="480" height="240"> 
</div> 

BM32S3021-1
===========================================================

The Best Modules BM32S3021-1 is a 1D infrared gesture control digital module, which uses the UART communication method. This document describes the Arduino Lib function of the BM32S3021-1 and how to install the Arduino Lib. The example demonstrates the function to recognize whether a gesture is swiping left or right with the BMS31M002/BMS31M002A modle.

#### Applicable types:
<div align=center>

|Part No.   |Description                               |
|:---------:|:----------------------------------------:|
|BM32S3021-1|1D infrared gesture control digital module|
|BMS31M002  |Integrated BM32S3021-1 module             |
|BMS31M002A |Integrated BM32S3021-1 module             |

</div> 

This library can be installed via the Arduino Library manager. Search for **BM32S3021-1**. 

Repository Contents
-------------------

* **/examples** - Example sketches for the library (.ino). Run these from the Arduino IDE. 
* **/src** - Source files for the library (.cpp, .h).
* **keywords.txt** - Keywords from this library that will be highlighted in the Arduino IDE. 
* **library.properties** - General library properties for the Arduino package manager. 

Documentation 
-------------------

* **[BM32S3021-1 Arduino Library Description](https://www.bestmodulescorp.com/bm32s3021-1.html#tab-product2)** - Arduino Library Description.

Version History  
-------------------

* **V1.0.1**  
&emsp;&emsp;- Initial public release.
* **V1.0.2**  
&emsp;&emsp;- Modify function:getFWVer(); 
* **V1.0.3**  
&emsp;&emsp;- Modify the ranges and default values of some function parameters;  
&emsp;&emsp;- Perfect example (distanceLearing, getGesture);  
&emsp;&emsp;- Perfect some function header comments.  
* **V1.0.4**  
&emsp;&emsp;- Add applicable models: BMS31M002A;   

License Information
-------------------

This product is _**open source**_! 

Please review the LICENSE.md file for license information. 

If you have any questions or concerns on licensing, please contact technical support on our BEST MODULES CORP. Email:service@bestmodulescorp.com.

Distributed as-is; no warranty is given.

BEST MODULES CORP.
