sciro.parameters

sciro.parameters – the Pybricks parameter types, with the PeakHub port set.

On the hub this module re-exports pybricks.parameters unchanged (the firmware has always had Port.G and Port.H); this stub exists because the upstream stubs declare Port.A .. Port.F only.

class sciro.parameters.Port(*values)

Port on the PeakHub. Eight LPF2/PUP ports, A .. H.

A = 65
B = 66
C = 67
D = 68
E = 69
F = 70
G: Port = 71
H: Port = 72
class sciro.parameters.ExtPort

Extension port of a PUMP device (1-based, as in its stream table).

EXT1: int = 1
EXT2: int = 2
EXT3: int = 3
EXT4: int = 4
EXT5: int = 5
EXT6: int = 6

Re-exported unchanged from pybricks.parameters: Axis, Button, Color, Direction, Icon, Side, Stop.