-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for roboDyn 7seg display (Mod-LED-Display-8D-74HC595) #1
Comments
Hi, thank you! |
Hi! When i write the 0 character to the display, it shows on 6 of the eight characters in the middle of the digit... |
If you only create a ShiftDisplay object, without calling any function, are all leds turned off? |
ShiftDisplay without a call to any function shows all leds off. However if i call display.setDot(0, true); , segment A of the 3th digit light up (digits 0-7)
If i change to COMMON_ANODE, all segments and dots from all digits light up.... |
Did some more testing, and the code below works, it shows 0-9 and the dot on each of the 8 positions starting on the left side of the display. Found the code here had to make some modifications to get it working hope this helps. (and can be included in the library) Thx!
|
In the library file src/CharacterEncoding.h, change INDEXES array (line 60) to:
and in src/ShiftDisplay.cpp, switch lines 85 and 88:
With |
WOW!! Really many many thanks for your help here! |
Sorry closed by accident |
You're welcome! |
Thanks again for your great support!, |
Solved |
Hi MiguelPynto, Your comment: B00001000, shiftOut(_dataPin, _clockPin, LSBFIRST, _buffer[i]); No longer works with the display that OPI-0 and now I have. The two shiftOut corrections (lines 85 and 88) no longer exist in your ShiftDisplay.cpp code. |
anyone still having this issue, make sure you set swapShiftRegistors to true when you declare the object. This will force the display into multiplex mode. No need to change any of the code. e.g
|
I still had problems with the RobotDyn 6 digit display (would not show values consistently right). Made a PR which adds SPI support (which has better timings than bitbanging) and has an example for driving a 6 digit RobotDyn 595 multiplexed display #9 |
Hi!,
Great library!,
Small issue here, I have bought the display below:
[http://robotdyn.com/catalog/segment/8_digit_led_display_tube_7_segments_74hc595/]
Now it seems that x and y have been switched?
is this easy to modify?
The text was updated successfully, but these errors were encountered: