![]() When in FB mode, I do all of the outputs to the frame buffer. Void updateScreen(void) // call to say update the screen now.Ĭurrently on the first call to useFBTFT - it will do a malloc for the frame buffer. Void freeFBTFT(void) // explicit call to release the buffer Uint8_t useFBTFT(boolean b) // use the frame buffer? First call will allocate I added three new methods, whose names may change: ![]() So today I started to add an optional FrameBuffer to the ILI9341_t3n. Example I may wish to do something like scrolling text. As I can see several places where doing a set of graphic primitives in the background and then update the screen would be useful. However I do like the idea of using a logical frame buffer. Most of the time, I end up setting up things like a set of buttons and text and the like, and as such I don't need continuous updates. The Text tool is used to create a label on either the schematic or. Selecting an object with the Move tool and clicking the right button on the mouse also rotates the selected object. I think his stuff will work great for his intended application of showing videos and the like.īut I am not sure how I would apply it to the typical things I do. The Rotate tool is used to rotate a component, wire, or group of objects. So I decided to play with it for a few days. Recently I became inspired by Franks work on the DMA version of the library as talked about in. Sometimes with all of them on the 3 different SPI busses and sometimes two on 1. In these cases the DC pin needs to be on the Hardware SPI CS pin.Īnyway I have been off and on playing around with this code and at one point had 3 displays hooked up to the T3.6. I also found while testing stuff out on the new processors, that on some of these, there are only 1 hardware CS brought out. To handle some of this stuff I broke out all of the standard functions that were in the ILI9341_t3 library and made a new library SPIN (), which created a virtual interface for SPI and implementations for the different Queue. Some of the interesting things I ran into included, the other SPI buses do not have the FIFO queue (or the do but they have 1 entry). ![]() So I created a duplicate of the library that I called ILI9341_t3n () ![]() As I have mentioned in some of the Beta threads for T3.5/T3.6, I hacked up a version of the ILI9341_t3 library, to make a version of it that I can use on any of the SPI busses on the processor.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |