Skip to content

Commit ae17034

Browse files
committed
add product descriptions and fix bugs (V1.0.2)
1 parent da8d69b commit ae17034

File tree

5 files changed

+37
-5
lines changed

5 files changed

+37
-5
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,33 @@ Chain Angle integrates an STM32G031G8U6 core MCU and uses a UART serial cascade
5555
## Related Link
5656
https://docs.m5stack.com/en/products/sku/U208
5757

58+
## License
59+
- [MIT](https://github.com/m5stack/M5Chain/blob/main/LICENSE)
60+
61+
# Chain ToF
62+
63+
## Overview
64+
Chain ToF is a laser ranging sensor node in the M5Stack Chain series. The device integrates a VL53L0C laser ranging module, supporting a distance measurement range of 3 ~ 200cm with an accuracy of ±3%. It is suitable for short-range non-contact distance measurement and object proximity detection applications. Chain ToF integrates an STM32G031G8U6 core MCU and adopts a UART daisy-chain communication protocol. With two HY2.0-4P expansion interfaces, it can be extended with additional Chain series devices to build richer interactive applications.
65+
66+
### SKU: U209
67+
68+
## Related Link
69+
https://docs.m5stack.com/en/products/sku/U209
70+
71+
## License
72+
- [MIT](https://github.com/m5stack/M5Chain/blob/main/LICENSE)
73+
74+
# Unit ChainBus
75+
76+
## Overview
77+
Unit ChainBus is a Chain series communication protocol conversion unit. It integrates an STM32G031G8U6 chip and uses a UART daisy-chain communication protocol to enable chained connections of multiple devices. It supports multiple protocol interface conversions, allowing various peripherals to be expanded on the same bus, and integrates hardware control and data interaction capabilities.
78+
79+
The UART interfaces on the left and right sides are used to connect Chain series devices, supporting device UID query, version query, link device enumeration, heartbeat communication, and more. The top multifunction expansion interface can be used to extend Unit series devices, supporting I2C communication control, GPIO management (input and output), ADC sampling, and NVIC interrupt management. It is suitable for industrial control, IoT, smart home, and other application scenarios, providing an effective solution for unified control and data interaction of multiple devices.
80+
81+
### SKU: U212
82+
83+
## Related Link
84+
https://docs.m5stack.com/en/products/sku/U212
85+
5886
## License
5987
- [MIT](https://github.com/m5stack/M5Chain/blob/main/LICENSE)

library.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
{
22
"name": "M5Chain",
3-
"version": "1.0.0",
3+
"version": "1.0.2",
44
"description": "Arduino library for M5Stack Chain devices, including Chain Joystick and Chain Key modules.",
55
"keywords": [
66
"M5Stack",
77
"Chain",
88
"Joystick",
9-
"Key"
9+
"Key",
10+
"Encoder",
11+
"Angle",
12+
"ToF",
13+
"ChainBus"
1014
],
1115
"repository": {
1216
"type": "git",

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=M5Chain
2-
version=1.0.1
2+
version=1.0.2
33
author=M5Stack
44
maintainer=M5Stack
55
sentence=M5Stack Chain series support library.

src/UnitChainBus/UnitChainBus.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*SPDX-License-Identifier: MIT
55
*/
66

7-
#include "UnitChainBus.hpp"
7+
#include "UnitChainBus/UnitChainBus.hpp"
88

99
chain_status_t UnitChainBus::setChainBusI2cMode(uint8_t id, i2c_speed_t i2cSpeed, uint8_t *operationStatus,
1010
unsigned long timeout)

src/UnitChainBus/UnitChainBus.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#ifndef _UNIT_CHAIN_BUS_HPP_
88
#define _UNIT_CHAIN_BUS_HPP_
99

10-
#include <ChainCommon.hpp>
10+
#include "ChainCommon/ChainCommon.hpp"
1111

1212
/**
1313
* @brief Maximum size for I2C read operations.

0 commit comments

Comments
 (0)