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


BM32S2031-1
===========================================================

The BEST MODULES BM32S2031-1 is a second generation proximity sensor module, which uses the UART communication method. This document provides the description of the BM32S2031-1 Arduino Lib functions and how to install the Arduino Lib. The example demonstrates the functions of obtaining the version number and the signal value when the module is in the sensing status with the BMS31M001/BMS31M001A module.

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

|Paet No.   |Description                              |
|:---------:|:---------------------------------------:|
|BM32S2031-1|Second generation proximity sensor module|
|BMS31M001  |Integrated BM32S2031-1 module            |
|BMS31M001A |Integrated BM32S2031-1 module            |

</div> 

This library can be installed via the Arduino Library manager. Search for **BM32S2031-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 
-------------------

* **[ BM32S2031-1 Arduino Library Description](https://www.bestmodulescorp.com/bm32s2031-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;- Add applicable models: BMS31M001A; 
* **V1.0.4**  
&emsp;&emsp;- Modification: Timeout dead loop caused by variable definition of readbytes function; 

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.
