Component: Touch Screen (FT6X06) (Force)
From Flowcode Help
Jump to navigationJump to searchAuthor | Matrix Ltd |
Version | 2.0 |
Category | Force |
Contents
Touch Screen (FT6X06) component
Low level routines for controlling or interacting with the FT6X06 touch screen controller IC found on a lot of common low cost resistive touch screen products.
Detailed description
No detailed description exists yet for this component
Examples
Downloadable macro reference
![]() |
Initialise |
Activates the SPI peripheral and claims control over the I/O pins. | |
![]() |
Return |
![]() |
CreateFile |
![]() |
Filename |
![]() |
Return |
![]() |
OpenFolder |
![]() |
Folder_Name |
![]() |
Return |
![]() |
WriteFileSector |
![]() |
Return |
![]() |
AppendStringToFile |
![]() |
Data_String |
![]() |
Return |
![]() |
ReadFileSize |
Reads the entire size of the current file in bytes. | |
![]() |
Return |
![]() |
SetFileIndex |
Sets the current file index and used to switch between several open file streams. Default = 0. | |
![]() |
File_Index |
File index ranges from 0 to (Max Concurrent Files - 1) | |
![]() |
Return |
![]() |
SetByte |
![]() |
Int |
![]() |
Ix |
![]() |
Value |
![]() |
Return |
![]() |
ReadFileSize |
Reads the entire size of the current file in bytes. | |
![]() |
Return |
![]() |
GetByte |
Gets a byte from an int | |
![]() |
Int |
![]() |
Ix |
![]() |
Return |
![]() |
SetTimeAndDate |
Sets the current time and date. Time = (Hour << 11) + (Min << 5) + (Sec >> 1) Date = (YearFrom1980 << 9) + (Month << 5) + (Day) Additional details can be found here: http://www.maverick-os.dk/FileSystemFormats/FAT16_FileSystem.html#TimeFormat | |
![]() |
Time |
Sets the current Time in FAT Time format hhhhhmmmmmmsssss - S=Secs/2 | |
![]() |
Date |
Sets the current Date in FAT Date format yyyyyyymmmmddddd - Y=Years since 1980 | |
![]() |
Return |
![]() |
Initialise |
Attempts to communicate with the SD card and if successful sets up the file system. Returns 0 for success. | |
![]() |
Return |