Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Writes text to a LCD screen.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Phidget | 13.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |
Parameter | Description | Example |
---|---|---|
PhidgetRef | The reference number for the phidget. | $phidget |
Font | The font of the text. Pass 3 for 6x10 font, 4 for 5x8 font and 5 for 6x12 font. |
5 |
xPosition | The X position of the start of the text string. | 0 |
yPosition | The Y position of the start of the text string. | 0 |
Text | The text to be written. | "Hello" |
Returns OK or error.
Output some text to LCD:
Set Variable [ $r ; Value: MBS( "Phidget.Clear"; $$phidget) ]
# write some text
Set Variable [ $r ; Value: MBS( "Phidget.WriteText"; $$phidget; 4; 0; 0; "Hello" ) ]
# and send all now
Set Variable [ $r ; Value: MBS( "Phidget.Flush"; $$phidget) ]
Created 16th August 2023, last changed 17th August 2023