j5.boards.sr.v4 package¶
Submodules¶
j5.boards.sr.v4.power_board module¶
Classes for the SR v4 Power Board.
-
class
j5.boards.sr.v4.power_board.
PowerBoard
(serial: str, backend: j5.backends.backend.Backend)[source]¶ Bases:
j5.boards.board.Board
Student Robotics v4 Power Board.
-
battery_sensor
¶ Get the battery sensor.
-
firmware_version
¶ Get the firmware version of the board.
-
name
¶ Get a human friendly name for this board.
-
outputs
¶ Get the power outputs.
-
piezo
¶ Get the piezo sounder.
-
serial
¶ Get the serial number.
Get the start button.
-
Module contents¶
Boards in the v4 series of Student Robotics boards.
-
class
j5.boards.sr.v4.
MotorBoard
(serial: str, backend: j5.backends.backend.Backend)[source]¶ Bases:
j5.boards.board.Board
Student Robotics v4 Motor Board.
-
firmware_version
¶ Get the firmware version of the board.
-
motors
¶ Get the motors on this board.
-
name
¶ Get a human friendly name for this board.
-
serial
¶ Get the serial number.
-
-
class
j5.boards.sr.v4.
PowerBoard
(serial: str, backend: j5.backends.backend.Backend)[source]¶ Bases:
j5.boards.board.Board
Student Robotics v4 Power Board.
-
battery_sensor
¶ Get the battery sensor.
-
firmware_version
¶ Get the firmware version of the board.
-
name
¶ Get a human friendly name for this board.
-
outputs
¶ Get the power outputs.
-
piezo
¶ Get the piezo sounder.
-
serial
¶ Get the serial number.
Get the start button.
-