CAN bus Array
Summary
Outputs predefined CAN bus messages based on the index pin.
Description
The **CAN bus Array** component stores a list of CAN message elements that can be accessed via the **Index** pin. - **Elements** – Click the **3 dots** button to open the elements editor, where you can add multiple CAN "Value" elements. For each **Value** element, you can configure:
- **ID** (integer) – The CAN message ID. - **Is Extended** (boolean) – Whether the message uses an extended ID. - **Is Request** (boolean) – Whether the message is a request frame. - **Message** (binary) – The CAN message payload.
- **Initial Index** – Sets the starting element when the component initializes.
The **Clock** pin triggers output of the element currently selected by the **Index** pin.
Diagram:
Categories
- File:TArduinoBinaryCategory.png Category Binary – Components related to binary data processing
Properties
- Elements – List of CAN message elements; editable via the elements editor.
- Initial Index – Zero-based index for the starting element.
Pins
- Clock – Triggers output of the currently selected element.
- Index – Integer input selecting which CAN element to output.
- Out – Binary output of the CAN message.
- ID – CAN message ID output.
- Extended – Boolean indicating whether the message uses an extended ID.
- Request – Boolean indicating whether the message is a request frame.