=============== 358 turn signal =============== :PID: 0x358 :Name: Turn signal AZE0 ---- .. table:: PID 0x358 -- transmit frequencies :name: pid-358-tx-frequencies +---------+----------------+ | Bus | Frequency (Hz) | +=========+================+ | Car-CAN | 10 | +---------+----------------+ .. table:: PID 0x358 :name: pid-358 +-----+------+------+----------------------+-----------------+------+-----+-----+ | PID | Byte | Bits | Description | Formula | Unit | Min | Max | +=====+======+======+======================+=================+======+=====+=====+ | 358 | B | 1:1 | turn signal left | | 1 == active; | | | | | | | | | | 0 == inactive | | | | | | +------+----------------------+-----------------+------+-----+-----+ | | | 2:2 | turn signal right | | 1 == active; | | | | | | | | | | 0 == inactive | | | | +-----+------+------+----------------------+-----------------+------+-----+-----+ Adapted from :cite:`dalathegreat:leaf_can_bus_messages`. ELM327 console ~~~~~~~~~~~~~~ .. literalinclude:: /code/elm327/358-turn-signal.txt :caption: Read PID 0x358 -- turn signal status (ELM327 console) :language: none :linenos: :name: elm327-358-turn-signal :download:`Read PID 0x358 – turn signal status (ELM327 console) ` ELM327 Python ~~~~~~~~~~~~~ .. literalinclude:: /code/elm327/358-turn-signal.py :caption: Read PID 0x358 -- turn signal status (ELM327 Python script) :language: python :linenos: :name: elm327-358-turn-signal-python :download:`Read PID 0x358 – turn signal status (ELM327 Python script) `