mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-06-29 11:06:02 +02:00
fix canbus send config docs (#3289)
This commit is contained in:
parent
a41dc1dc13
commit
4303bed701
|
@ -171,12 +171,11 @@ There are several forms to use it:
|
||||||
- canbus.send: 'hello'
|
- canbus.send: 'hello'
|
||||||
|
|
||||||
# Templated, return type is std::vector<uint8_t>
|
# Templated, return type is std::vector<uint8_t>
|
||||||
- canbus.send: !lambda
|
- canbus.send: !lambda return {0x00, 0x20, 0x42};
|
||||||
return {0x00, 0x20, 0x42};
|
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **data** (**Required**, binary data): Data to transmit, up to 8 bytes or
|
- **data** (**Required**, binary data, :ref:`templatable <config-templatable>`): Data to transmit, up to 8 bytes or
|
||||||
characters are supported by can bus per frame.
|
characters are supported by can bus per frame.
|
||||||
- **canbus_id** (*Optional*): Optionally set the can bus id to use for transmitting
|
- **canbus_id** (*Optional*): Optionally set the can bus id to use for transmitting
|
||||||
the frame. Not needed if you are using only 1 can bus.
|
the frame. Not needed if you are using only 1 can bus.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user