Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
|
Forum Index : Microcontroller and PC projects : New 4 inch LCD
Page 3 of 12 | |||||
Author | Message | ||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9114 |
PicoMiteUSB.zip |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2127 |
what version is it please? last was 09.00b6 also ili9xxx run from 5V and 5V to led. should a 100R resistor be needed. I never used a resistor for the backlight no prob. |
||||
disco4now Guru Joined: 18/12/2014 Location: AustraliaPosts: 896 |
Its still says 5.09.00b6 but does include the change to editor refresh outline above. Also includes fix for the previously reported issue with PEEK(CFUNADDR name) function. Latest F4 Latest H7 |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2127 |
thanks. I use mmedit but turned console on and edit list is slow as is. don't know in built editor so didn't mess. you can read the text but wouldn't want to write code on it imho is this the boot to basic picomite idea or else use a pc console to write code? using vga it would work, bigger display. |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 828 |
That is amazing! You have once again made the impossible possible! The editor now works really fast, LIST, LIST COMMANDS and LIST FUNCTIONS work excellently! Can you explain the syntax for NOSCROLL again with an example? I always get a syntax error... Can this also be implemented with FILES? If there are many files in the folder (as in my case), the scrolling is also very slow... If it were now possible to jump to a specific index with LIST, a great help system could be implemented: E.g. LIST "HELP.txt GPS(" and then create "~~GPS(" as search index in the file... Frank (Peter, many thanks for this great improvement!!!) |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9114 |
Frank Try this PicoMiteUSB.zip For the noscroll just enter: OPTION LCDPANEL CONSOLE 1,,,,NOSCROLL |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 509 |
Hi Peter, One thing I have noticed while testing the new scrolling regime in the editor, I'm still using the original version, not your latest USB version, as I don't have a USB set up at present. The scrolling rate is dramatically improved with clock speed. Clock speed 133MHz Font 7 single line scroll=5.7lps, page scrolling 100lps Font 8 single line scroll=5.5lps, page scrolling 136lps Clock speed 252MHz Font 7 single line scroll=9lps, page scrolling 160lps Font 8 single line scroll=8lps, page scrolling 200lps Clock speed 376MHz Font 7 single line scroll=10.7lps, page scrolling 230lps Font 8 single line scroll=10.5lps, page scrolling 280lps lps=lines updated per second. This looks to be amazingly good on a 240x320 ILI9341 screen, font 8 allows 38x81 characters in the editor, which makes it very usable, even font 7 gives 28x54 characters. I'll wait to see how it looks on a 4" 320x480 screen, but I'm very hopeful. :-) Thanks for all your hard work on this improvement. Regards, Kevin. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9114 |
Kevin here is the latest standard PicoMite version with the FILE change PicoMite.zip Rendering text is processor intensive hence the impact of processor speed. The SPI rate is the same in all cases Edited 2024-03-17 23:30 by matherp |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 509 |
Yes, I knew the SPI rate wouldn't change, which is why I was so surprised that the clock speed made such a difference, but if the rendering uses a fair amount of time, that would explain it. Thanks for the update, I'll have a play, does this version allow any LCD to be console? I'll test to see, but if not, don't worry, till you are back. Regards, Kevin. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9114 |
Kevin This might work for an ILI9481 etc. but completely untested PicoMite.zip Also a couple of bug fixes to "noscroll" for the USB version PicoMiteUSB.zip Edited 2024-03-18 01:38 by matherp |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 509 |
Hi Peter, Thanks, that is mainly working on a ILI9481IPS 320x480, Page up/down fine, but single line scrolling or the "LIST" command causes a "Error : Display not configured" when it gets to the bottom of the screen, don't know about "FILES" I haven't got the SD set up on this screen, don't worry about any further updates for now. Using Font 7 the Editor gives 38x81 characters quite usable. Using Font 8 the Editor gives 51x121 characters, very small on a 3.5" Testing this screen, which I believe you said was particularly slow, which shows itself in the fact that the update speed doesn't dramatically improve this time. Clock speed 133MHz Font 7 page scrolling 61lps Font 8 page scrolling 85lps Clock speed 376MHz Font 7 page scrolling 82lps Font 8 page scrolling 120lps lps=lines updated per second. Still reasonably useable in the editor, hopefully my new 9481 4" will make the font 8 a bit larger and be a bit faster than the IPS? but Font 7 at 38x81 is still better than I could ever have hoped for. :-) Regards, Kevin. |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9114 |
Kevin What does OPTION LIST show. It should show that NOSCROLL is enabled. If not please enable it. OPTION LCDPANEL CONSOLE 7,,,,NOSCROLL |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 509 |
It wasn't, now is, but still the same error. PicoMite MMBasic Version 5.09.00b7 OPTION SYSTEM SPI GP6,GP3,GP4 OPTION SYSTEM I2C GP26,GP27 OPTION COLOURCODE ON OPTION LCDPANEL CONSOLE 7,,,,NOSCROLL OPTION DISPLAY 40, 80 OPTION LCDPANEL ILI9481IPS, LANDSCAPE,GP2,GP1,GP0 OPTION TOUCH GP5,GP7 OPTION SDCARD GP22 OPTION AUDIO GP20,GP21', ON PWM CHANNEL 2 OPTION MODBUFF ENABLE 180 OPTION DEFAULT FONT 7, 1 |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9114 |
Kevin This should fix the issues you reported PicoMite.zip |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 509 |
Thanks Peter, that has fixed it as far as I am able to test at present. Regards, Kevin. |
||||
stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2127 |
first post ili9488 4". and I thought I digressed. not sure about updating. PicoMite MMBasic Version 5.08.00 OPTION SYSTEM SPI GP18,GP19,GP16 OPTION AUTORUN ON OPTION KEYBOARD UK OPTION LCDPANEL ILI9488, LANDSCAPE,GP15,GP14,GP13 OPTION TOUCH GP12,GP11 GUI CALIBRATE 0, 3908, 3875, -1288, -851 OPTION SDCARD GP22 > > drive "b:" > files B:/ 22:39 29-03-2023 55342378 t1.wav 21:11 02-04-2023 65642368 t2.wav 0 directories, 2 files > |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 828 |
If something is already on the display, the first page is skipped with LIST and everything is only displayed correctly from the second page onwards. If I delete the display before this with CLS, the first page is also displayed. If I start the editor once via the terminal on the PC, the first page is then also displayed correctly with LIST without CLS... Frank UPDATE: This error only seems to occur if you are connected to the PC at the same time and the editor has not yet been started. P.S.: The FILES thing is great!!! Edited 2024-03-18 22:29 by Frank N. Furter |
||||
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 9114 |
Frank I haven't got a PicoMiteUSB with SPI screen available to test but on a standard PicoMite I can't see the problem. There is one possibility that could cause this. If the last line of the first page is too long for the screen then it will wrap and not leave space for the "Press ANY KEY" prompt. I can't see an easy way round this without more work than the problem merits. Please could you see if this is the case. I've attached the vary latest firmware build just in case there is something missing in the one I posted for you PicoMiteUSB.zip Note this version now allows any display to be used as a console. In theory a SSD1306 could be used (UNTESTED!!!!) |
||||
Bleep Guru Joined: 09/01/2022 Location: United KingdomPosts: 509 |
I have now found I have a ILI9481 320x480 not IPS. The speed is much better than the 9481IPS. Clock speed 133MHz Font 7 single line scroll=3.1lps, page scrolling 90lps Font 8 single line scroll=3.0lps, page scrolling 100lps Clock speed 376MHz Font 7 single line scroll=4.8lps, page scrolling 150lps Font 8 single line scroll=4.5lps, page scrolling 200lps lps=lines updated per second. Much more like the ILI9341 in speed, bearing in mind the 9481 is twice the number of pixels. So for speed at this resolution, it looks like this is the best option, otherwise use a ILI9341 at 240x320, it's a shame there does not appear to be a 9481 that is any larger than 3.5" Regards, Kevin. |
||||
Frank N. Furter Guru Joined: 28/05/2012 Location: GermanyPosts: 828 |
Peter, there is no change in this version. What if you simply run a CLS automatically every time beforehand? Afterwards it always works. Frank P.S.: ...I can live with the problem - I just wanted to point it out... Edited 2024-03-18 23:59 by Frank N. Furter |
||||
Page 3 of 12 |
Print this page |