-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Enhanced TM1650 with 7-Segment commands like TM1637 #18109
Conversation
@gablau Digit colon is wrong for 303WifiLC01 |
Hi @Jason2866 ,
I apply the position swap before sending it to the display, in the "swapbits" function. The only command that doesn't use the swapbits function is
Each of these commands should light one segment of each digit on the display. Best Regards |
Yes, The first pictures should show |
Fixed, it should work now. I had moved segment P wrong, which became G. |
@gablau Verified working now for the 303WiFiLC01 module. Thx for the PR! |
Description:
Improved TM1650 with 7-segment commands like TM1637
I ported all 7-segment commands into this driver with a bit of refactoring, simplified operation and future extensions by display type, currently only supports:
DisplayType 0
for XY-ClockDisplayTypo 2
for 303WifiLC01Bonus:
DisplayMode 1
to3
now flashes every second.DisplayMode 3
(time/date), it is possible to increase the time display time using theDisplayRefresh [1..7]
commandI tested everything with XY-Clock hardware, I don't have the 303WiFiLC01 clock
If this PR is merged, I intend to update the documentation, as at the moment the "20/TM1650" display driver is not documented
Unfortunately I can't test it against ESP32 but compiling via platform.io works fine
Related issue (if applicable): See discussion #15788
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass