Seven segment display driver, and Charlieplex driver

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0
Request group membership
By: created: 2014-07-16 | updated: 2014-07-18

This driver works with any number of digits, digits must be on contiguous pins, with the low digit on the low digit-select pin.
The segments are also required to be on contiguous pins, but the order can be re-arranged by editing a lookup table.
Reads characters from a text string to write to the display, numbers "0" through "9", minus "-", decimal point ".", and space " " are recognized.
Includes methods for creating a string from integer values, or from an integer with a divider to a specified number of decimal places.

Works with common-anode and common-cathode displays, and also with transistor-driven displays.

Just added a Charlieplex driver, requires a minimum of 9 contiguous pins for seven-segments plus decimal point.
Drives any number of displays, the first nine are free, each additional display requires an additional pin.
Has the same functionality as the regular driver.

Original File Upload
Binary Data SevenSegment driver.spin53.97 KB
Binary Data SevenSegment Charlieplex driver.spin56.98 KB