Skip to content

Commit 55fbd0c

Browse files
committed
doc8 linter errors
1 parent 39d38d2 commit 55fbd0c

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

doc/main/iodevices/pupdevice.rst

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,16 @@ Detecting devices
2525
../../../examples/pup/iodevices_pupdevice/port_info.py
2626

2727
Diagnostics: bringing examples together.
28-
******************************
28+
****************************************************************************************
2929

30-
``HubInit()`` automatically connects to any of the known hubs and reports its features in ``hub_info``
31-
The init loops over all the available ports and ``ConnectToDevice()`` connects with available devices.
32-
The remote, if there is one, controls 2 variables; in range(-100,100), the other in range(0,100).
30+
``HubInit()`` automatically connects to any of the known hubs and reports its features
31+
in ``hub_info``.
32+
``GetPorts()`` and ``ConnectToDevice()`` are used to connect any available device.
33+
The later also initiates a class object belonging to that device.
34+
A remote can control 2 variables; CH A/1 in range(-100,100) and CH B/2 in range(0,100).
3335
These could be used to control 1 or more motors, lights, etc.
34-
On ``DIAGNOSTICS_PERIOD`` 4 different sensors values are read if available together with hub voltage and current.
36+
On ``DIAGNOSTICS_PERIOD`` IMU and 4 different sensors values are read if available.
37+
Also hub voltage and current are printed at that time.
3538
Also ``ch1_val`` is applied as dc() value on motors if there are any.
3639

3740
.. literalinclude::

0 commit comments

Comments
 (0)