Package edu.wpi.first.hal
Class REVPHVersion
java.lang.Object
edu.wpi.first.hal.REVPHVersion
Version and device data received from a REV PH.
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
The firmware fix version.final int
The firmware major version.final int
The firmware minor version.final int
The hardware major version.final int
The hardware minor version.final int
The device's unique ID. -
Constructor Summary
ConstructorDescriptionREVPHVersion
(int firmwareMajor, int firmwareMinor, int firmwareFix, int hardwareMinor, int hardwareMajor, int uniqueId) Constructs a revph version (Called from the HAL). -
Method Summary
-
Field Details
-
firmwareMajor
The firmware major version. -
firmwareMinor
The firmware minor version. -
firmwareFix
The firmware fix version. -
hardwareMinor
The hardware minor version. -
hardwareMajor
The hardware major version. -
uniqueId
The device's unique ID.
-
-
Constructor Details
-
REVPHVersion
public REVPHVersion(int firmwareMajor, int firmwareMinor, int firmwareFix, int hardwareMinor, int hardwareMajor, int uniqueId) Constructs a revph version (Called from the HAL).- Parameters:
firmwareMajor
- firmware majorfirmwareMinor
- firmware minorfirmwareFix
- firmware fixhardwareMinor
- hardware minorhardwareMajor
- hardware majoruniqueId
- unique id
-