Component: Matrix Cap Touch Display (Development)
From Flowcode Help
Jump to navigationJump to search
Author | Matrix TSL |
Version | 1.0 |
Category | Development |
Contents
- 1 Matrix Cap Touch Display component
- 2 Detailed description
- 3 Examples
- 4 Macro reference
- 4.1 BluetoothConnectionStatus
- 4.2 BluetoothInit
- 4.3 BluetoothReceiveArray
- 4.4 BluetoothSendArray
- 4.5 BluetoothUninit
- 4.6 ClearDisplay
- 4.7 DrawArc
- 4.8 DrawBitmap
- 4.9 DrawButton
- 4.10 DrawEllipse
- 4.11 DrawGraph
- 4.12 DrawLine
- 4.13 DrawPixel
- 4.14 DrawQRCode
- 4.15 DrawRectangle
- 4.16 DrawRoundedRectangle
- 4.17 DrawString
- 4.18 FileCreate
- 4.19 FileDelete
- 4.20 FileInit
- 4.21 FileOpen
- 4.22 FileReadArray
- 4.23 FileWriteArray
- 4.24 FolderOpen
- 4.25 GetAPIVersion
- 4.26 GetCardPresent
- 4.27 GetLastButtonPress
- 4.28 GetLastRawTouchCoordinate
- 4.29 GetSliderValue
- 4.30 Initialise
- 4.31 ListenForTouch
- 4.32 SetBackgroundColour
- 4.33 SetBacklightBrightness
- 4.34 SetBitmapTransparencyColour
- 4.35 SetColourPallet
- 4.36 SetFontScaler
- 4.37 SetForegroundColour
- 4.38 SetGraphData
- 4.39 SetOrientation
- 4.40 SetSliderValue
- 4.41 UpdateButtonText
- 4.42 UpdateButtonTheme
- 4.43 WifiAcceptClose
- 4.44 WifiAcceptOpen
- 4.45 WifiConnectToSSID
- 4.46 WifiCreateAccessPoint
- 4.47 WifiDisconnect
- 4.48 WifiInit
- 4.49 WifiReadIP
- 4.50 WifiReceiveArray
- 4.51 WifiScan
- 4.52 WifiScanEncryptionMode
- 4.53 WifiScanSSID
- 4.54 WifiScanSigStrength
- 4.55 WifiSendArray
- 4.56 WifiSocketClose
- 4.57 WifiSocketConnect
- 4.58 WifiSocketListen
- 4.59 WifiSocketOpen
- 4.60 WifiUninit
- 5 Property reference
- 6 Component Source Code
Matrix Cap Touch Display component
A component to drive the capacitive touch display module as used in EM, 3PH PSU, CNC
Detailed description
No detailed description exists yet for this component
Examples
Auto Detect Port Number
This example auto detects and opens a COM Port based on preassigned USB Identifiers VID/PID.
For a known device the VID and PID can be found via Windows device manager.
Macro reference
BluetoothConnectionStatus
![]() |
BluetoothConnectionStatus |
Checks to see if the Bluetooth is connected to a master device | |
![]() |
Return |
BluetoothInit
![]() |
BluetoothInit |
Startup up Bluetooth communications and assigns a friendly name | |
![]() |
Name |
Friendly device name | |
![]() |
Return |
BluetoothReceiveArray
![]() |
BluetoothReceiveArray |
Read an array of bytes from the Bluetooth connection Returns the number of bytes read from the file | |
![]() |
Data |
![]() |
Count |
![]() |
Return |
BluetoothSendArray
![]() |
BluetoothSendArray |
Send an array of bytes via Bluetooth | |
![]() |
Data |
![]() |
Count |
![]() |
Return |
BluetoothUninit
![]() |
BluetoothUninit |
Shots down Bluetooth communications | |
![]() |
Return |
ClearDisplay
![]() |
ClearDisplay |
Clears the display and resets the button count | |
![]() |
Return |
DrawArc
DrawBitmap
DrawButton
DrawEllipse
DrawGraph
DrawLine
![]() |
DrawLine |
Draws a single pixel thickness line | |
![]() |
X1 |
![]() |
Y1 |
![]() |
X2 |
![]() |
Y2 |
![]() |
Return |
DrawPixel
![]() |
DrawPixel |
Draws a single pixel in the foreground colour at X,Y | |
![]() |
X1 |
![]() |
Y1 |
![]() |
Return |
DrawQRCode
DrawRectangle
DrawRoundedRectangle
DrawString
FileCreate
![]() |
FileCreate |
Creates an empty file on the file system | |
![]() |
Filename |
Text label to draw on the button | |
![]() |
Return |
FileDelete
![]() |
FileDelete |
Deletes a file from the file system | |
![]() |
Filename |
Text label to draw on the button | |
![]() |
Return |
FileInit
![]() |
FileInit |
Starts up the FAT file system access function for the SD card 0=OK | |
![]() |
Return |
FileOpen
![]() |
FileOpen |
Opens a file ready for reading or writing | |
![]() |
Filename |
Text label to draw on the button | |
![]() |
Return |
FileReadArray
![]() |
FileReadArray |
Read an array of bytes from the current open file Returns the number of bytes read from the file | |
![]() |
Data |
![]() |
Count |
![]() |
Return |
FileWriteArray
![]() |
FileWriteArray |
Write an array of bytes to the current open file | |
![]() |
Data |
![]() |
Count |
![]() |
Return |
FolderOpen
![]() |
FolderOpen |
Navigates the current directory to a folder We can use ",," to go up a level or "root" to go back to the root. | |
![]() |
Filename |
Text label to draw on the button | |
![]() |
Return |
GetAPIVersion
![]() |
GetAPIVersion |
![]() |
Return |
GetCardPresent
![]() |
GetCardPresent |
Checks to see if a SD card is inserted 1=Card Present, 0=No Card Present | |
![]() |
Return |
GetLastButtonPress
![]() |
GetLastButtonPress |
Gets the button index of the last valid button press. 255 = No new touch detected | |
![]() |
Return |
GetLastRawTouchCoordinate
![]() |
GetLastRawTouchCoordinate |
Gets the coordinates of the last touch. -1 = no new touch data available. | |
![]() |
XY |
![]() |
Return |
GetSliderValue
![]() |
GetSliderValue |
Gets the value of one of the slider buttons | |
![]() |
ButtonID |
the ID of the slider button you want to read | |
![]() |
Return |
Initialise
![]() |
Initialise |
![]() |
Return |
ListenForTouch
SetBackgroundColour
![]() |
SetBackgroundColour |
Sets the background draw colour | |
![]() |
R |
![]() |
G |
![]() |
B |
![]() |
Return |
SetBacklightBrightness
![]() |
SetBacklightBrightness |
Sets the brightness of the backlight | |
![]() |
Brightness |
0=Off, 255=Max | |
![]() |
Return |
SetBitmapTransparencyColour
![]() |
SetBitmapTransparencyColour |
Sets the RGB colour to use as a transparent mask when drawing bitmaps | |
![]() |
R |
![]() |
G |
![]() |
B |
![]() |
Return |
SetColourPallet
SetFontScaler
![]() |
SetFontScaler |
Sets the brightness of the backlight | |
![]() |
XScaler |
Width Multiplier Range: 1 to x | |
![]() |
YScaler |
Height Multiplier Range: 1 to x | |
![]() |
Return |
SetForegroundColour
![]() |
SetForegroundColour |
Sets the foreground draw colour | |
![]() |
R |
![]() |
G |
![]() |
B |
![]() |
Return |
SetGraphData
SetOrientation
![]() |
SetOrientation |
Sets the display orientation | |
![]() |
Orientation |
Range: 0 - 3 | |
![]() |
Return |
SetSliderValue
![]() |
SetSliderValue |
Sets the value of one of the slider buttons | |
![]() |
ButtonID |
the ID of the slider button you want to read | |
![]() |
Value |
Range: 0 to 1 | |
![]() |
Return |
UpdateButtonText
![]() |
UpdateButtonText |
Redraws the selected button with the new text | |
![]() |
ButtonIndex |
Range: 0 to NumButtons -1 | |
![]() |
Text |
![]() |
Return |
UpdateButtonTheme
![]() |
UpdateButtonTheme |
Redraws the selected button in a new theme | |
![]() |
ButtonIndex |
Range: 0 to NumButtons -1 | |
![]() |
ThemeIndex |
Range: 0 to 9 | |
![]() |
Return |
WifiAcceptClose
![]() |
WifiAcceptClose |
Stops incoming socket requests from being accepted | |
![]() |
Return |
WifiAcceptOpen
![]() |
WifiAcceptOpen |
Allows incoming socket requests to be accepted | |
![]() |
Return |
WifiConnectToSSID
![]() |
WifiConnectToSSID |
Connects to a remote WIFI network | |
![]() |
SSID |
Text label to draw on the button | |
![]() |
Password |
![]() |
Return |
WifiCreateAccessPoint
WifiDisconnect
![]() |
WifiDisconnect |
Disconnect from the current socket | |
![]() |
Return |
WifiInit
![]() |
WifiInit |
Startup up WIFI communications | |
![]() |
Return |
WifiReadIP
![]() |
WifiReadIP |
Collects the IP address from the WIFI as a string. | |
![]() |
Return |
WifiReceiveArray
![]() |
WifiReceiveArray |
Read an array of bytes from the WIFI connection Returns the number of bytes read from the file | |
![]() |
Data |
![]() |
Count |
![]() |
Return |
WifiScan
![]() |
WifiScan |
Scans the WIFI network and returns the number of networks detected | |
![]() |
Return |
WifiScanEncryptionMode
WifiScanSSID
![]() |
WifiScanSSID |
Collects the SSID network name from one of the results of the Scan. | |
![]() |
Index |
Range: 0 - (Num Returned By WifiSSIDScan) - 1 | |
![]() |
Return |
WifiScanSigStrength
![]() |
WifiScanSigStrength |
Collects the signal strength from one of the results of the Scan | |
![]() |
Index |
Range: 0 - (Num Returned By WifiSSIDScan) - 1 | |
![]() |
Return |
WifiSendArray
![]() |
WifiSendArray |
Send an array of bytes via WIFI | |
![]() |
Data |
![]() |
Count |
![]() |
Return |
WifiSocketClose
![]() |
WifiSocketClose |
Close a socket | |
![]() |
Return |
WifiSocketConnect
![]() |
WifiSocketConnect |
Connect to a remote socket | |
![]() |
Address |
![]() |
Port |
![]() |
Return |
WifiSocketListen
![]() |
WifiSocketListen |
Listens to a socket for incoming data | |
![]() |
Port |
![]() |
Return |
WifiSocketOpen
![]() |
WifiSocketOpen |
Opens a socket | |
![]() |
Return |
WifiUninit
![]() |
WifiUninit |
Shots down Wifi communications | |
![]() |
Return |
Property reference
Component Source Code
Please click here to download the component source project: FC_Comp_Source_CapTouchDIsplay.fcfx
Please click here to view the component source code (Beta): FC_Comp_Source_CapTouchDIsplay.fcfx