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.
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702
Posted: 07:31am 22 Aug 2018
Copy link to clipboard
Print this post
I've destroyed 4 SSD1963 LCD display's by trying to move the 0Ω resister to the pwn position I've now destroyed the 5th one as it dropped and the wire I was able to solder on the 5th attempt broke and took the pcb trace with it. I can't keep buying these as they are so expensive. HDMI monitors/displays are so cheap I'm going to try one of those.
I've got my code set up for an SSD1963 480 X 800 display in pixels because it's exact and I was able to work out where on the screen I needed everything by trial and error till I got it exact
What I would like to do is convert the pixels to MM.HRes,MM.VRes
I have actually spent 2 full 10 hour days trying to do this but my stupid brain goes completely blank after about 4 lines, I just cannot convert my existing pixel positions to MM.HRes,MM.VRes
IS there anyone that is able to help and do this for me? I'll pay if needed There's around 170 of them.
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702
Posted: 07:42am 22 Aug 2018
Copy link to clipboard
Print this post
Sorry Peter with the way my brain is that means totally nothing to me. I really have spent over 30 hours trying to convert these which is why I'm now willing to pay if someone can do it I'd rather do that than pay for another 2/3 SSD1963's which may end up broken again anyway Also this way the code would also work for any other kind of display whatever the size
matherp Guru Joined: 11/12/2012 Location: United KingdomPosts: 10572
Posted: 07:49am 22 Aug 2018
Copy link to clipboard
Print this post
suppose you have a command
TEXT 30,90,"Hello"
replace it with
TEXT 30*MM.HRES/800, 90*MM.VRES/480
Do the same for all x and y coordinates in all graphics commands - easy
Also, I'm sure if you as WW nicely he could supply you with SSD1963 ready modified for a very small mark-upEdited by matherp 2018-08-23
Azure Guru Joined: 09/11/2017 Location: AustraliaPosts: 446
Posted: 07:51am 22 Aug 2018
Copy link to clipboard
Print this post
I sent you a PM. Send me the code and I'll do it for you.Edited by Azure 2018-08-24
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702
Posted: 06:06am 23 Aug 2018
Copy link to clipboard
Print this post
Thank you Azure I've PM's you Peter thank you also, I didn't know you could actually do that
Quazee137 Guru Joined: 07/08/2016 Location: United StatesPosts: 600
Posted: 11:02am 23 Aug 2018
Copy link to clipboard
Print this post
for less typing you might try
TEXT myh(30),myv(90),"Hello"
function myh(h) myh=h*MM.HRES/800 end function
function myv(v) myv=v*MM.VRES/480 end function
or another way is
myh=MM.HRES/800 myv=MM.VRES/480
TEXT myh*30,myv*90,"Hello"
this way may be a bit faster.
both are easy to see what your doing.
not sure if they will affect program size.
Azure Guru Joined: 09/11/2017 Location: AustraliaPosts: 446
Posted: 12:16pm 26 Aug 2018
Copy link to clipboard
Print this post
Lew, I have PM'd you the updated code.
lew247 Guru Joined: 23/12/2015 Location: United KingdomPosts: 1702
Posted: 06:36pm 26 Aug 2018
Copy link to clipboard
Print this post
Thanks John, I've replied to you
WW if you're reading this I didn't ignore your message I replied to it 3 times in total but checking the outbox, not one of them sent for some reason I#ll email you in a few mins