Component: Heelight Sensor (Grove 101020312) (101020312) (Audio): Difference between revisions
Appearance
No edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
==Component Source Code== | ==Component Source Code== | ||
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/ | Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/componentsource/FC_Comp_Source_Heelight_Sensor.fcfx FC_Comp_Source_Heelight_Sensor.fcfx] | ||
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/ | Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_Heelight_Sensor.fcfx FC_Comp_Source_Heelight_Sensor.fcfx] | ||
==Detailed description== | ==Detailed description== | ||
| Line 73: | Line 73: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
Revision as of 13:10, 7 February 2023
| Author | Matrix Ltd |
| Version | 2.0 |
| Category | Audio |
Heelight Sensor (Grove 101020312) component
Heelight Sensor is a smart voice sensor that can recognize up tp 500 digital voice commands. It was originally used on the Heelight – a smart colorful bulb that can be controlled by digital sound waves. Allows you to realize smart control in your own projects. Compatible with Heelight smart phone apps and other Heelight controllers.
Component Source Code
Please click here to download the component source project: FC_Comp_Source_Heelight_Sensor.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_Heelight_Sensor.fcfx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
Initialise
| Initialise | |
| Sets up the UART peripheral ready to receive messages from the Heelight sensor. | |
| Return | |
ListenForCommand
ReadData
| ReadData | |
| Reads data received from the listen macro. | |
| Index | |
| Data Byte Received Range: 0-3 | |
| Return | |