Hello first of all awesome working on the sketches But i have a problem I can not get my 3.5" LCD working on the m0 pro board then i found out I'm using the .org m0 pro board. I didn't know into a few days ago when i got it. I order it from mouser. But i would like to use the 3.5" Inch LCD on this board. If i put it on a uno board it works. Can you help me out? I know it's not a .cc board and not much help over there but can you please help me.
I also forgot this is where i got my LCD from Here
I bought my ZERO PRO when it first became available in Europe. Before it was renamed as M0 PRO
D2 and D4 are swapped on my M0 Pro compared to the American Zero.
The macros in mcufriend_shield.h distinguish between the D2 / D4 wiring.
Please say which IDE, which M0, which D2 wiring, what you eat for breakfast, ...
Obviously we need to select the correct board in Tools. This determines the compile-time defines that the library uses.
My conditional tests can be improved.
It would be nice to hear from owners of the American Zero. Old or current.
I'm using Arduino 1.7.10 From Arduino.org IDE, Board on the bottom says M0 PRO from Italy. not sure what you mean by D2 wiring? and what i ate this morning well nothing lol
Hello David i have a couple of Questions. How do i tell text to Go X,Y as well as change font color on the text? I also couldn't figure out how to make the font go bigger or smaller? from the demo sketch that is in the library that is marked GLUE_Demo_480x320 which that is my screen size.
I am not at a PC. Your code looks like UTFT code. Look up the UTFT documentation.
MCUFRIEND_kbv uses Adafruit_GFX methods. Study the testFillRect() function in graphictest_kbv.ino
Adafruit does have some tutorials and PDF about GFX. Quite honestly, I just read the Adafruit_GFX.h file.
If the arguments are x, y, w, h, color it seems pretty intuitive. i.e. X position, Y position, Width, Height, Fill Colour
Obviously this is harder for non-English speakers.
David.
p.s. the UTFT methods are very difficult for humans to follow. i.e. you give bottom-right coordinates instead of width, height. And the Colour is specified elsewhere.
Hello David I been Trying different text sizes and font colors thank you for that. I didn't mange to get the x and Y location yet working but getting there. Again thank you for the library and help.
Some odd reason i didn't see that post. My browser didn't update when i refreshed i only see most of my Post. But i see it now i cleaned out my cookies and cache now I'm good.
well done on the hard workץ
I really liked the clock.
Can I get the code?
Thanks.
its not the same clock but it is pretty ... i spent a few hours getting it to work with the mcufriend library and instead of millis it uses a ds1302 rtc. i really just hacked that in there because whenever i remove the millis loop weird things happen.. wither way its a pretty clock now i need to add the touch screen part to make it have a dialog to set the rtc. its only related in the fact that it uses mcufriend_kbv and well i like to share code, if it was cleaned up a bit it would be a good example to add to the library maybe in case anyone wanted a quick easy analog clock..