====== TGP application creation ====== ===== Install VisualTFT ===== VisualTFT download page (Chinese): [[https://www.gz-dc.com/category/typeid/8|]] VisualTFT installation: {{:hiq:components:cr-d-tgp_app:visualtft_3.0.0.1249.rar|}} * Download, * Unzip (Unrar) * Install ===== Prepare TGP application ===== * Download and unzip TGP template: {{:hiq:components:cr-d-tgp_app:tgp_template.zip|}} * In VisualTFT open ''# tgp_project.tftprj'' * prepare screens and graphical elements * edit ''main.lua'' to process communication between TGP and CyBro ===== Testing TGP ===== * Connect CR-D1 A and B to USB to COM adapter * In VisualTFT installation folder find and run ''TFTSimulator.exe'' * {{:hiq:components:cr-d-tgp_app:tft_simulator.png?nolink|}} * In VisualTFT installation folder find and run ''DCIOT.exe'' * {{:hiq:components:cr-d-tgp_app:dciot.png?nolink|}} * Run simulator * {{:hiq:components:cr-d-tgp_app:simulator_1.png?nolink|}} * {{:hiq:components:cr-d-tgp_app:simulator_2.png?nolink|}} ==== Transferring application to TGP ==== * {{:hiq:components:cr-d-tgp_app:download.png?nolink|}} * Insert micro SD card into slot at bottom of TGP (SD card contacts versus front of display) * Reset TGP with pin (pinhole on bottom right side)