Package crackers.kobots.devices.display
Interface SegmentedDisplay
-
- All Implemented Interfaces:
public interface SegmentedDisplay
Handles displaying characters on segmented displays. The base conceit is a 14-segment display, with limits applied to work with 7-segments.
This is based on the Adafruit Segments library code.
-
-
Method Summary
Modifier and Type Method Description abstract Unit
print(String value)
Prints a string to the display(s). abstract Unit
print(Float value, Integer decimalPlaces)
Prints a numeric value to the display(s). Unit
scroll(Integer count)
Scroll the existing text by count characters. abstract Unit
setDigit(Integer digit, Integer hiValue, Integer lowValue)
Directly set segment values for the digit in the display. Unit
marquee(String text, Duration delay, Boolean loop)
Print a scrolling value to the displays.
-