|
Forum Index : Microcontroller and PC projects : E-Ink magic, faster update and no flashes
| Author | Message | ||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572 |
![]() Watch the demo MMbasic running on the NUCLEO-L432KC dim s$ CLS option autorefresh off do if time$<>s$ then s$=time$ text mm.hres\2,mm.vres\2,s$,CMU,8,1 box mm.hres\2-8, 98,4,4,,1,1 box mm.hres\2+4, 98,4,4,,1,1 box mm.hres\2-8, 196,4,4,,1,1 box mm.hres\2+4, 196,4,4,,1,1 refresh endif loop |
||||
| WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2959 |
Hi Peter, Very impressive! What is the purpose of the four BOX commands (at first I thought something to flash the second's colon). |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572 |
The seven segment font doesn't have a colon symbol so these just mimic one |
||||
| WhiteWizzard Guru Joined: 05/04/2013 Location: United KingdomPosts: 2959 |
Thanks for explaining that. If I zoom in on your posted image above, I can see the 7-segment 'shadow on the right most digit. Is this a property of the e-ink technology, or is it because of the technique your using? |
||||
| twofingers Guru Joined: 02/06/2014 Location: GermanyPosts: 1671 |
Hi Peter, I really appreciate that! ![]() I was very convinced that you could do it. Do you already have figures about the power consumption? Kind regards Michael causality ≠ correlation ≠ coincidence |
||||
| panky Guru Joined: 02/10/2012 Location: AustraliaPosts: 1116 |
Peter, Could you please provide details and source of the e-ink display you are using above. Thanks, Doug. ... almost all of the Maximites, the MicromMites, the MM Extremes, the ArmMites, the PicoMite and loving it! |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
@Panky Should find what you want in this thread E-Ink "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
| OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 1013 |
When I use the OPTION AUTOREFRESH OFF/REFRESH in 5.04.37 on ST-L4 and 2.9" e-Paper the screen goes to black before the update. Is there any way I can fix that? OA47 |
||||
| OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 1013 |
I am still a little confused as to how I can clear the e-ink display whilst connected to the L4 armmite. The display has random pixels still dark at the top of the display and all attempts to get the display back to white have not been successful. I have not been able to get CLS to function with this display and the L4. OA47 |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
I have disconnected mine but am sure CLS worked and since I didn't want to leave anything on the screen while not in use I cleared the screen and it is now sitting here blank. I will wire it back up later and do some testing. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
OK I reconnected the E_Ink display and loaded the driver but keep getting an error This L4 is driving me crazy. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
OK I was a bit rusty, doesn't take long to get rusty at my age. Got it working again and CLS works OK. I entered a snippet of code to put some text on the screen and by just typing "CLS" at the prompt in TeraTerm it clears the screen. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
| OA47 Guru Joined: 11/04/2012 Location: AustraliaPosts: 1013 |
Somthin' screwy going on at my end. ![]() ![]() when I type CLS from prompt only the written area gets cleared. ![]() Any suggestions anybody? I have tried option lcdpanel disable power down then up then option lcdpanel gdeh029a1 etc even tried to enable and disable each pixel on the screen. OA47 |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
At a guess I would say the display is faulty. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
palcal![]() Guru Joined: 12/10/2011 Location: AustraliaPosts: 2006 |
Just noticed looks like still have the peel off protective coating on the display? It is not causing some sort of static interference is it. Have you tried the display on a Micromite. "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
| lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Peter any idea if THIS ONE would work ok? It's a standard SPI - E-INK display but it has 3 colours I'm guessing the only thing I'd need to do to change colour is the normal way? |
||||
| matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572 |
No: it would need a completely different driver. The current one uses 1 bit per pixel. |
||||
| lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702 |
Is this using the same code as listed here ? and only running faster because it's not an MM? or is there new code to make it faster? |
||||
| davematt Regular Member Joined: 27/09/2011 Location: AustraliaPosts: 55 |
@ Matherp, Peter, even using version 5.0435 my 2.9in display insists on flashing black every update. Quite puzzling when you've shown us it doesn't need to! Using option lcdpanel GDEH029A1, L, 15, 21, 14, 22, 1 and your clock program. Do these displays vary between batches or something? @ Lew247. The more recent versions of Armmite L4 let you use the option as above. In the battery miser page is version 5.04.04 or therabouts... |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |