Documentation of the Ynvisible_Driver library for the Ynvisible Segment Display Driver 4. Before you read this we recommend reading the Driver 4 Tutorial.
Download the library here and install it in the Arduino IDE. To include the library in your sketch use:
The display is updated to a new state by passing an array of ones and zeros in the set(bool array) function. Number 1 indicates segment on (dark) and zero indicates segment off (bright). Each digit in the array correspond to one segment on the display. For example:
Applies a refresh pulse on the segments to increase the contrast without changing the display content (recommended if the display hasn't been updated for 15 minutes or so).
Changes the switching time to time in milliseconds, the default value is 2200 ms. Longer switching time generally means better contrast but it should not be longer than necessary as that influences display lifetime.
Changes the counter voltage to voltage. The value should be between 0 and 5 V, default is 2,4 V. Lower counter voltage means more contrast in dark state and less contrast in bright state while higher voltage means more contrast in bright state and less in dark state.
Applies a reset sequence to the display and removes all content.
These functions are designed for specific display designs. You can still use the set() function to achieve the same result but these functions will save you some time.
Used to update the 7-segment display to a digit between 0 and 9.
Used to update the double 7-segment display to a digit between -99 and 99.
Used to update the bar display to a state between 0 (zero bars on) and 7 (all bars on) from the bottom and up. For example, the ECD.setBar(5) function turns on 5 of the 7 bar segments.
Please don't hesitate to contact firstname.lastname@example.org if there are questions or comments.
Press releases, success stories, and educational content from Ynvisible University.Learn more