VisualTFT Basic
VisualTFT Basic
Are there any Visual TFT examples in Basic. All have been in C. Thanks
Re: VisualTFT Basic
Hi,
The Visual TFT examples are written for C, Basic and Pascal.
You can find these examples in the Projects subfolder of the Visual TFT installation folder.
Regards,
Filip.
The Visual TFT examples are written for C, Basic and Pascal.
You can find these examples in the Projects subfolder of the Visual TFT installation folder.
Regards,
Filip.
Re: VisualTFT Basic
Thanks Filip
I am new to programming and am having problems.
I have managed to add RS232 hardware onto the Mikromedia and have text data bouncing back on the terminal with button activation via tft touch but I cant work out how to put that data onto the screen!
I have tried to work out some of the examples but get lost as there is no coding documentation.
Could you give me some examples with documentation.
Thanks
I am new to programming and am having problems.
I have managed to add RS232 hardware onto the Mikromedia and have text data bouncing back on the terminal with button activation via tft touch but I cant work out how to put that data onto the screen!
I have tried to work out some of the examples but get lost as there is no coding documentation.
Could you give me some examples with documentation.
Thanks
Re: VisualTFT Basic
I have now worked out how to put data and string into a text label.
It does jump about a bit sometimes to a buttons label.
How do we clear a label?
The text data read on uart only works one maybe twice and then stops.
Is there any need to clear a buffer?
It does jump about a bit sometimes to a buttons label.
How do we clear a label?
The text data read on uart only works one maybe twice and then stops.
Is there any need to clear a buffer?
Re: VisualTFT Basic
You need to set the Max Length of label to a number higher than the amount of characters to be displayed.AndyB wrote:It does jump about a bit sometimes to a buttons label.
Like this:AndyB wrote:How do we clear a label?
Code: Select all
sub procedure disp2 'draw lblADC
lblADC.Font_Color=CL_White 'set same as screen color
DrawLabel(@lblADC) 'redraw label
ByteToStr(temp_Byte,lblADC.Caption) 'convert byte to string and move to lblADC.Caption
lblADC.Font_Color=CL_Red 'change to color of text you want displayed
DrawLabel(@lblADC) 'redraw label
End Sub
Re: VisualTFT Basic
Thanks for the reply ed_6678 I will try this.