Component: MIAC Bluetooth (MIAC: Addon Modules): Difference between revisions
Appearance
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;" align="center"" to "width="10%" align="center" class="mtx-class-macrohead"" |
m Text replacement - "width="10%" align="center" style="background-color:#D8C9D8;"" to "width="10%" align="center" class="mtx-class-macrohead"" |
||
| Line 447: | Line 447: | ||
{| class="mtx-class-macrotable wikitable" | {| class="mtx-class-macrotable wikitable" | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties''' | ||
|- | |- | ||
| Line 466: | Line 466: | ||
| colspan="2" | | | colspan="2" | | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Connections''' | ||
|- | |- | ||
|- | |- | ||
| width="10%" align="center" | | width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-conn-icon.png]] | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Simulations''' | ||
|- | |- | ||
|} | |} | ||
Revision as of 14:21, 13 July 2026
| Author | |
| Version | 1.0 |
| Category | MIAC: Addon Modules |
MIAC Bluetooth component
Bluetooth Addon for MIAC System
Component Pack
FREE
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Downloadable macro reference
| BluetoothCount | |
| Returns the number of bytes waiting to be read from the receive buffer | |
| Return | |
| MIAC_Module_SetData | |
| Count | |
| D0 | |
| D1 | |
| D2 | |
| D3 | |
| D4 | |
| D5 | |
| Return | |
| BluetoothSendString | |
| send string to Bluetooth module | |
| Str | |
| Return | |
| MIAC_Module_Init | |
| CAN_ID | |
| Return | |
| MIAC_Module_GetData | |
| Index | |
| Return | |
| MIAC_Module_Message | |
| CAN_ID | |
| CMD_ID | |
| Return | |
| MIAC_Module_WR | |
| CAN_ID | |
| CMD_ID | |
| [[File:]] - | Count |
| [[File:]] - | Start |
| [[File:]] - | More |
| Return | |
| BluetoothSetPin | |
| Changes the pincode to a new value. The passcode is four digits, e.g. 1234 (Applies to HC-06 module only) | |
| Pincode | |
| New four digit pincode | |
| Return | |
| LED_Control | |
| Sets the indicator LED On (State=1) or Off (State=0) | |
| State | |
| Return | |
| MIAC_Module_PushData | |
| Data | |
| Return | |
| BluetoothSetName | |
| Changes the module Name to a new value. (Applies to HC-06 module only) | |
| Name | |
| New four digit passcode | |
| Return | |
| DigitalOutput | |
| Set a Terminal Output to High (Value=1) or Low (Value=0) | |
| Terminal | |
| Value | |
| Return | |
| BluetoothRead | |
| Read one character from the Bluetooth module receive buffer. Returns 0 if nothing in the receive buffer | |
| Return | |
| MIAC_Module_GetAck | |
| CAN_ID | |
| CMD_ID | |
| TimeOut | |
| Return | |
| BluetoothInitialize | |
| Initializes the Bluetooth module (enables buffered receive mode) | |
| Return | |
| AnalogInput | |
| Read the ADC value of a Terminal Returns 12 bit ADC reading | |
| Terminal | |
| Terminal number to be read | |
| Return | |
| BluetoothSend | |
| Sends a character to the Bluetooth module | |
| Character | |
| Character (Byte) to send | |
| Return | |
| Initialize | |
| Forces a software reset on the module and enables buffered receive. | |
| Return | |
| DigitalInput | |
| Read the value of a terminal | |
| Terminal | |
| Return | |
Property reference
| Properties | |
| Module Type | |
| Module Address | |
| Baud Rate | |
| Connections | |
| Simulations | |