I have been working on a simple example V-TFT project for the beginners to examine and I have put tutorial comments in the code files
about how V-TFT works and where to put your user code safely and what each user code area can be used for.
The example project shows how I made a custom mechanical wheel looking digit display. It looks like a classic cars odometer.
For this example, I have it acting as a event counter display, but you can change that if you want.
This custom display 'gadget' is the only way I have thought of to add and share custom components for V-TFT so far.
You can copy the objects from its one screen (or use the project as starting template for your projects), to your project by importing the screen.
There is one main routine that handles updating the wheel digits and easy to copy to other projects.
As a tutorial, it also includes example of sharing the main loop time to call routine for screen RESET buttons visual effect that is driven
by main loop calls that are flag controlled.
The RESET (counter value), button also has required second click to confirm proceed with resetting counter to zero safety feature example to examine.
All driven by flag controlled main loop to user code routines calling control.
It is easy to see how this is done so you can use methods in your own work too.
I have a BONUS pdf manual done for it that has some tips and tricks and complete with comments listing of the main program and events files code.
I still have a few things to do to the V-TFT project files, but you can get the examples pdf manual now to have a look over.
This V-TFT project examples hardware and software configuration is:
' * Test configuration:
' MCU: P32MX460F512L
' Dev.Board: MikroMMB_for_PIC32_hw_rev_1.10
' http://www.mikroe.com/mikromedia/pic32/
' Oscillator: 80000000 Hz
' SW: mikroBasic PRO for PIC32
' http://www.mikroe.com/mikrobasic/pic32/
(sorry, but the pictures had to be reduced in quality a lot to get file size down so I could upload it here, when I put finished package on
Libstock it should be at full quality then)
Link to current tutorial PDF manuals and to Project Examples Libstock pages [added for first time viewers]
Updated Tutorial PDF: http://www.libstock.com/blog_docs/get/5 ... ter-tu.pdf
Libstock Example V-TFT Projects: http://www.libstock.com/projects/view/8 ... nt-counter
9/9/2014: New Advanced V-TFT Pointers Topic Tutorial project and 20 page PDF manual added to Libstock.
Example project is V-TFT for PIC32 mmB in mBASIC and can be gotten from here:
http://www.libstock.com/projects/view/1 ... t-tutorial
It includes all project source files, screen images, project screen export file and (older) 18 page PDF tutorial manual in the zip download.
You can get the newest PDF version of the manual at this link directly:
http://www.libstock.com/blog_docs/get/6 ... tft-st.pdf
Newest PDF version (1.01) has this project Program Flowcharts page: Robert.