With Instructables you can share what you make with the world, and tap into an ever-growing community of creative experts.
Tell us about yourself!
Have you got the DS3231 connected and working with a library example?I have used the "DS3231_Simple" library so that is one I recommend:https://github.com/sleemanj/DS3231_SimpleOnce you have one of the examples running and talking to the DS3231 post back here.
Hi, just noticed this has gone unanswered for a while...Unfortunately I can't help you on this occasion.I suggest you ask for help on the Arduino forum in the "Displays" section. On the forum describe the problem, post a link to the vendor of your display, and post photos of the front and back of your display, this will help folk identify which display driver is on your board and tell you how to get it running.TTFN
OK, thanks.In Arduino land a char is a signed value so it works OK. Since writing the library I have moved on to using different type designations like int16_t, uint16_t etc to make the code more portable and less compiler dependent.In later variants of the library I use Run Length Coding for the larger fonts so less FLASH is needed and also to speed up rendering on windowed plot area displays, but on an STM32 you probably are not bothered about that.Good luck with your project.
Yes, that is correct.See post here:http://forum.arduino.cc/index.php?topic=181679.msg...:-)
A character is drawn as a raster scan within a box size of the characters width and height. The RLE format is a byte, the top bit is a flag, the least significant 7 bits are a 7 bit number (0-127). If the flag is 1 then foreground pixels are plotted, if it is 0 the background pixels are plotted. The number of pixels to plot is the 7 bit number + 1.So, for example, the encoded sequence "0x81, 0x1F" means plot 2 pixels in foreground then 32 pixels in background.
OK, glad to hear it is working. Good luck with your project.
The screen in your eBay link does not have a touch controller fitted, nor is touch screen capability mentioned in the advert. Look at the back of the display, is the place for U1 populated with an integrated circuit?
Arduino TFT display and font library
Arduino BMP180 temperature and pressure sensor readings on a 1.8" colour TFT display
Pulse of the City - Bristol
Join 2 million + to receive instant DIY inspiration in your inbox.
© 2016 Autodesk, Inc.