Open donnersm opened 2 years ago
Thanks for the video, it must be a problem with the code for the 12 hour clock cause the 24 hour clock works fine.
Will dig into over the weekend!
On Fri 28 Jan 2022, 19:02 Mark Donners, @.***> wrote:
I tried the sketch for the testis clock with WIFImanager. I used the original code but I changed the display interface to work on my hardwire with different pin setup. All is working except the colon. Whenever an animation is active the 2 dots are blinking at 1 sec interval but whenever the animation of a number( or letter) is done, the colon freezes in whatever state it was in last. sometime's it stays black, sometimes it stays white but doesn't blink. Blinking is resumed when next animation starts.
I changed Matrix config to:
// ------------------------------------- // ------- Matrix Config ------ // -------------------------------------
define PANEL_RES_X 64 // Number of pixels wide of each INDIVIDUAL panel module.
define PANEL_RES_Y 64 // Number of pixels tall of each INDIVIDUAL panel module.
define PANEL_CHAIN 2 // Total number of panels chained one to another
define A_PIN 23
define B_PIN 19
define C_PIN 5
define D_PIN 17
define E_PIN 22
define LAT_PIN 18
define OE_PIN 15
define CLK_PIN 16
define R1_PIN 33
define B2_PIN 13
define R2_PIN 14
define G2_PIN 12
define G1_PIN 26
define B1_PIN 27
// -------------------------------------
And I added /changed it near line 373 to fit my hardware:
`// ------------------------------------- // ------- Matrix Config ------ // -------------------------------------
define PANEL_RES_X 64 // Number of pixels wide of each INDIVIDUAL panel
module.
define PANEL_RES_Y 64 // Number of pixels tall of each INDIVIDUAL panel
module.
define PANEL_CHAIN 2 // Total number of panels chained one to another
define A_PIN 23
define B_PIN 19
define C_PIN 5
define D_PIN 17
define E_PIN 22
define LAT_PIN 18
define OE_PIN 15
define CLK_PIN 16
define R1_PIN 33
define B2_PIN 13
define R2_PIN 14
define G2_PIN 12
define G1_PIN 26
define B1_PIN 27
// -------------------------------------`
— Reply to this email directly, view it on GitHub https://github.com/witnessmenow/ESP32-Trinity/issues/13, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5PQUOVWELH3WLT4HG3MTUYLR4BANCNFSM5NBQPPJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you are subscribed to this thread.Message ID: @.***>
I tried the 24 hour clock by adjusting the config in the wifi manager....result is the same. The 24 hour clock has same effect. colon not blinking. I can make a video but it looks just the same except it's a 24hour clock lol
What code version is it? Is this the version with wifi manager?
On Fri 28 Jan 2022, 19:45 Mark Donners, @.***> wrote:
I tried the 24 hour clock by adjusting the config in the wifi manager....result is the same. The 24 hour clock has same effect. colon not blinking. I can make a video but it looks just the same except it's a 24hour clock lol
— Reply to this email directly, view it on GitHub https://github.com/witnessmenow/ESP32-Trinity/issues/13#issuecomment-1024581948, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAL5PQVSGIKFTMOXYGBKM2TUYLW5XANCNFSM5NBQPPJQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>
Yes it's the version with wifi manger. I used the link you send me on discord and clicked the wifi manager version
Hi brian, I just uploaded the non wifimanager version and it has the same behavior Libraries used: -> candidates: [WiFi@1.2.7 WiFi@1.0] -> candidates: [FS@1.0] -> candidates: [SPIFFS@1.0] -> candidates: [WiFiManager@2.0.5-beta] -> candidates: [Update@1.0] -> candidates: [WebServer@1.0] -> candidates: [DNSServer@1.1.0] -> candidates: [ESP_DoubleResetDetector@1.2.1] -> candidates: [ESP32_HUB75_LED_MATRIX_PANEL_DMA_Display@2.0.5] -> candidates: [Adafruit_GFX_Library@1.10.4] -> candidates: [TetrisAnimation@1.1.0] -> candidates: [ezTime@0.8.3] -> candidates: [ArduinoJson@6.19.1]
Found a workaround....is not optimal but it might help you diagnose. I included the fastled libary:
as a quick and dirty import of one specific function: EVERY_N_MILLISECONDS(1000)
So I added this line before the closing bracket of the loop EVERY_N_MILLISECONDS(1000) {handleColonAfterAnimation();};
Now all is working fine.
For some reason the
if (finishedAnimating) {
handleColonAfterAnimation();
}
loop doesn't do the handleColonAfterAnimation(); the loop itself is entered ( i added a line of text output to serial port to monitor)
Hope that helps
Did some more digging ....this only happens with the doublebuffer on ( display) looks like when it happens, it writes to the other buffer...anyway...due to memory limitations i stick to a single buffer for now. With double buffer disables..all workes fine
Hi, im currently having the same issue as well.
are there any fixes except the fastled workaround yet?
Thanks!
I tried the sketch for the testis clock with WIFImanager. I used the original code but I changed the display interface to work on my hardwire with different pin setup. All is working except the colon. Whenever an animation is active the 2 dots are blinking at 1 sec interval but whenever the animation of a number( or letter) is done, the colon freezes in whatever state it was in last. sometime's it stays black, sometimes it stays white but doesn't blink. Blinking is resumed when next animation starts. ( see attached video )
I changed Matrix config to:
And I added /changed it near line 373 to fit my hardware:
`// ------------------------------------- // ------- Matrix Config ------ // -------------------------------------
define PANEL_RES_X 64 // Number of pixels wide of each INDIVIDUAL panel module.
define PANEL_RES_Y 64 // Number of pixels tall of each INDIVIDUAL panel module.
define PANEL_CHAIN 2 // Total number of panels chained one to another
define A_PIN 23
define B_PIN 19
define C_PIN 5
define D_PIN 17
define E_PIN 22
define LAT_PIN 18
define OE_PIN 15
define CLK_PIN 16
define R1_PIN 33
define B2_PIN 13
define R2_PIN 14
define G2_PIN 12
define G1_PIN 26
define B1_PIN 27
// -------------------------------------`