Commit Graph

40 Commits

Author SHA1 Message Date
Balázs Váradi 5cdf259c99 Fix display clock 2022-03-10 13:18:10 +01:00
pkkrusty 32300207e8
Actually show six digits in MAX7219
Not sure how I missed that in the last PR.
2022-03-04 19:35:29 +00:00
pkkrusty 5e20756922
Replace noob code with pro code for assembling string
%02d pads an integer with leading zeros up to 2 digits. Amazing!
2022-02-04 19:22:29 +00:00
pkkrusty abee978080
Forgot to change the length of tm variable 2022-02-04 12:19:42 +00:00
pkkrusty 6172eff331
Add seconds to MAX7219 DisplayClock command
As extra digits are available, may as well use them to allow more accuracy. Also changed the colon/dot to remain illuminated since the seconds fulfill the heartbeat function, and colon/dot serves as just a separator.

TM1637 and TM1638 code is unchanged.
2022-02-03 21:20:43 +00:00
Theo Arends 21ac944940
Merge pull request #13077 from ajithvasudevan/max7912_scrolltext_enhancement
Enhanced 7-Segment command DisplayScrollText for indefinite as well as finite scrolling
2021-09-20 11:16:59 +02:00
s-hadinger f4dadc625b
``DisplayDimmer`` has now range 0..100 instead of 0..15 (#13132)
* ``DisplayDimmer`` has now resolution of 8 bits instead of 4, and uses Gamma for LED

* Fix changelog
2021-09-14 22:40:26 +02:00
Ajith Vasudevan 2815211321 Enhanced 7-Segment command DisplayScrollText for indefinite as well as finite scrolling 2021-09-06 19:26:01 +05:30
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends 11beacf956 Add support for another variant of the 6-digit TM1637 display
Add support for another variant of the 6-digit TM1637 display module selected by command ``DisplayType 1`` (#11422)
2021-03-22 12:47:15 +01:00
Ajith Vasudevan c7eb0451ef Minor documentation update 2021-03-20 09:05:19 +05:30
Ajith Vasudevan d079bdc2fd Added MAX7912 to TM1637 driver 2021-03-19 22:30:06 +05:30
Theo Arends ccd3477737 Remove command DisplayBrightness
Remove command DisplayBrightness in favour of already available DisplayDimmer
2021-03-19 14:24:26 +01:00
Theo Arends 245023f9da Add DisplayModes to TM163x displays 2021-03-19 12:22:53 +01:00
Theo Arends 6577cdc426 Add initial DisplayMode support to TM163x displays 2021-03-19 12:02:01 +01:00
Theo Arends add48e8bd9 Fix TM163x power control 2021-03-19 11:13:08 +01:00
Theo Arends c87a4df7e9 Refactor TM1638 pin numbers 2021-03-19 10:33:46 +01:00
Theo Arends ee1ecfc267 Fix TM163x driver 2021-03-19 10:19:01 +01:00
Theo Arends 320f0e2776 Add support for TM1638 seven segment display
Add support for TM1638 seven segment display by Ajith Vasudevan (#11031)
2021-03-19 10:15:50 +01:00
Ajith Vasudevan ba77e6d1c0 Removed DisplayType and TM1638 Buttons and LEDs support 2021-03-18 19:30:50 +05:30
Ajith Vasudevan 7fe8f117a5 Reverted changes to xdsp_interface and related changes done in 75699fe 2021-03-09 00:47:19 +05:30
Ajith Vasudevan 7a85a0e88e Now using Settings.display_options instead of display_type 2021-03-03 18:15:27 +05:30
Ajith Vasudevan f16f2c1879 Fixed minor bug in DisplayScrollText 2021-02-23 12:52:05 +05:30
Ajith Vasudevan c5f79aa532 Fixed some logs 2021-02-22 12:04:30 +05:30
Ajith Vasudevan a9c1f86759 Merged with development 2021-02-22 11:30:11 +05:30
Theo Arends b2e1258e22 Fix TM1637 display init
Fix TM1637  display init (#11057)
2021-02-21 14:33:51 +01:00
Theo Arends 7a911b328f Fix TM1637 driver
Fix TM1637 driver now needs ``TM1637 CLK`` and ``TM1637 DIO`` to enable (#11057)
2021-02-21 12:17:39 +01:00
Ajith Vasudevan db17863828 Removed unwanted log 2021-02-21 14:42:12 +05:30
Ajith Vasudevan 5009a3fae9 Fixed bug where clock is disabled after a brightness change 2021-02-21 11:07:12 +05:30
Ajith Vasudevan e2ea80ad8d made brightness range consistent across display types 2021-02-21 10:34:40 +05:30
Ajith Vasudevan 2f6cacc69b Disabled Clock display automatically when a new command is issued 2021-02-19 18:39:42 +05:30
Ajith Vasudevan ac14dab680 Better input validation error messages 2021-02-19 15:28:16 +05:30
Ajith Vasudevan 4beb589c18 Added support for TM1638 Seven-Segment Display, Buttons and LED 2021-02-18 22:44:15 +05:30
Theo Arends 14206e46a1 Add support for TM1637 seven segment display by Ajith Vasudevan (#10889) 2021-02-17 12:32:36 +01:00
Ajith Vasudevan eb09d3aad3 Added support for displaying degrees symbol if a caret is present in DisplayText input 2021-02-17 16:24:45 +05:30
Ajith Vasudevan 0a2049c368 Fixed bug in displayText command when used with with decimal input 2021-02-17 13:18:45 +05:30
Ajith Vasudevan c07bebf51c Updated documentation 2021-02-16 22:50:35 +05:30
Ajith Vasudevan 11852fe549 Changed display lib and added support for upto 6 digits (limit for TM1637) 2021-02-16 17:42:49 +05:30
Ajith Vasudevan bc57e68b7e Merged latest changes to TM1637 code 2021-02-14 16:52:08 +05:30
Ajith Vasudevan d2d7a408c8 Rewrote TM1637 driver as a Display Driver 2021-02-10 21:53:47 +05:30