Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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