Skip to content

Commit

Permalink
Merge pull request #321 from tinymovr/docs/setting_can_id
Browse files Browse the repository at this point in the history
Update can id docs
  • Loading branch information
yconst authored Feb 9, 2024
2 parents b045d8f + b72e33a commit e127e30
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions docs/studio/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,8 @@ In order for multiple Tinymovr instances to coexist in the same CAN network, the
:width: 400
:alt: Change CAN bus node ID using the GUI

The board will be discovered with the new ID. Studio GUI will rescan, discover the new node, and remove the old instance.

2. |cli| Change the ID

.. code-block:: python
Expand All @@ -128,21 +130,21 @@ In order for multiple Tinymovr instances to coexist in the same CAN network, the
where x is the desired ID. You can assign IDs in the range 1-1024.

3. Relaunch Studio. The board will be discovered with the new ID.
The board will be discovered with the new ID. Relaunch Studio CLI to remove the old board instance.

4. |gui| Save configuration.
3. |gui| Save configuration.

.. image:: save_config.png
:width: 400
:alt: Save configuration using the GUI

4. |cli| Save configuration.
3. |cli| Save configuration.

.. code-block:: python
tm1.save_config()
5. Power down or reset the board. Tinymovr is now ready to use with the new ID.
4. Power down or reset the board. Tinymovr is now ready to use with the new ID.

.. _command-line-options:

Expand Down

0 comments on commit e127e30

Please sign in to comment.