Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Added support for StandardFirmataWiFi
Browse files Browse the repository at this point in the history
  • Loading branch information
MrYsLab committed May 14, 2020
1 parent a8bab0f commit 482e072
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
12 changes: 9 additions & 3 deletions html/pymata4/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@ <h1 class="title">Module <code>pymata4.pymata4</code></h1>
then you may accept all the default values.

If you are using some other Firmata sketch, then
you must specify both the com_port and baudrate.
you must specify both the com_port and baudrate for
as serial connection, or ip_address and ip_port if
using StandardFirmataWifi.

:param com_port: e.g. COM3 or /dev/ttyACM0.

Expand Down Expand Up @@ -1980,7 +1982,9 @@ <h2 class="section-title" id="header-classes">Classes</h2>
and have a single Arduino connected to your computer,
then you may accept all the default values.</p>
<p>If you are using some other Firmata sketch, then
you must specify both the com_port and baudrate.</p>
you must specify both the com_port and baudrate for
as serial connection, or ip_address and ip_port if
using StandardFirmataWifi.</p>
<p>:param com_port: e.g. COM3 or /dev/ttyACM0.</p>
<p>:param baud_rate: Match this to the Firmata sketch in use.</p>
<p>:param arduino_instance_id: If you are using the Firmata
Expand Down Expand Up @@ -2021,7 +2025,9 @@ <h2 class="section-title" id="header-classes">Classes</h2>
then you may accept all the default values.

If you are using some other Firmata sketch, then
you must specify both the com_port and baudrate.
you must specify both the com_port and baudrate for
as serial connection, or ip_address and ip_port if
using StandardFirmataWifi.

:param com_port: e.g. COM3 or /dev/ttyACM0.

Expand Down
4 changes: 3 additions & 1 deletion pymata4/pymata4.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ def __init__(self, com_port=None, baud_rate=115200,
then you may accept all the default values.
If you are using some other Firmata sketch, then
you must specify both the com_port and baudrate.
you must specify both the com_port and baudrate for
as serial connection, or ip_address and ip_port if
using StandardFirmataWifi.
:param com_port: e.g. COM3 or /dev/ttyACM0.
Expand Down

0 comments on commit 482e072

Please sign in to comment.