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.
Returns: Battery sensor attached to the board.
-
firmware_version
¶ Get the firmware version of the board.
Returns: Firmware version of the board.
-
name
= 'Student Robotics v4 Power Board'¶
-
outputs
¶ Get the power outputs.
Returns: Group of power outputs attached to the board.
-
piezo
¶ Get the piezo sounder.
Returns: Piezo object attached to the board.
-
serial_number
¶ Get the serial number of the board.
Returns: Serial number of the board.
Get the start button.
Returns: Start button attached to the board.
-