Platforms to show: All Mac Windows Linux Cross-Platform
Back to PhidgetLCDMBS class.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Changes made to the frame buffer must be flushed to the LCD screen using flush.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Changes made to the frame buffer must be flushed to the LCD screen using flush.
Calls ClearAsyncCompleted event later.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
PhidgetLCDMBS.copy(sourceFramebuffer as Integer, destFramebuffer as Integer, sourceX1 as Integer, sourceY1 as Integer, sourceX2 as Integer, sourceY2 as Integer, destX as Integer, destY as Integer, inverted as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
sourceFramebuffer: Index number of the frame buffer containing the source rectangle
destFramebuffer: Index number of the frame buffer containing the destination rectangle
sourceX1: X coordinate of upper left corner of source rectangle
sourceY1: Y coordinate of upper left corner of source rectangle
sourceX2: X coordinate of bottom right corner of source rectangle
sourceY2: Y coordinate of bottom right corner of source rectangle
destX: X coordinate of upper left corner of destination rectangle
destY: Y coordinate of upper left corner of destination rectangle
inverted: If true, copied pixels are inverted
PhidgetLCDMBS.copyAsync(sourceFramebuffer as Integer, destFramebuffer as Integer, sourceX1 as Integer, sourceY1 as Integer, sourceX2 as Integer, sourceY2 as Integer, destX as Integer, destY as Integer, inverted as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
sourceFramebuffer: Index number of the frame buffer containing the source rectangle
destFramebuffer: Index number of the frame buffer containing the destination rectangle
sourceX1: X coordinate of upper left corner of source rectangle
sourceY1: Y coordinate of upper left corner of source rectangle
sourceX2: X coordinate of bottom right corner of source rectangle
sourceY2: Y coordinate of bottom right corner of source rectangle
destX: X coordinate of upper left corner of destination rectangle
destY: Y coordinate of upper left corner of destination rectangle
inverted: If true, copied pixels are inverted
Calls copyAsyncCompleted event later.
PhidgetLCDMBS.drawLine(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Changes made to the frame buffer must be flushed to the LCD screen using flush.
x1: X coordinate of the first point
y1: Y coordinate of the first point
x2: X coordinate of the second point
y2: Y coordinate of the second point
PhidgetLCDMBS.drawLineAsync(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Changes made to the frame buffer must be flushed to the LCD screen using flush.
x1: X coordinate of the first point
y1: Y coordinate of the first point
x2: X coordinate of the second point
y2: Y coordinate of the second point
CallsdrawLineAsyncCompleted event later.
PhidgetLCDMBS.drawPixel(x as Integer, y as Integer, pixelState as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Changes made to the frame buffer must be flushed to the LCD screen using flush.
x: The X coordinate of the pixel
y: The Y coordinate of the pixel
pixelState: The new state of the pixel.
PhidgetLCDMBS.drawPixelAsync(x as Integer, y as Integer, pixelState as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Changes made to the frame buffer must be flushed to the LCD screen using flush.
x: The X coordinate of the pixel
y: The Y coordinate of the pixel
pixelState: The new state of the pixel.
Calls drawPixelAsyncCompleted event later.
PhidgetLCDMBS.drawRect(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer, filled as Integer, inverted as Integer = 0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Changes made to the frame buffer must be flushed to the LCD screen using flush.
x1: The X coordinate of the top-left corner of the rectangle
y1: The Y coordinate of the top-left corner of the rectangle
x2: The X coordinate of the bottom-right corner of the rectangle
y2: The Y coordinate of the bottom-right corner of the rectangle
filled: If true, the rectangle will be solid. If false, just a single pixel outline.
inverted: If true, clears the region instead of drawing
PhidgetLCDMBS.drawRectAsync(x1 as Integer, y1 as Integer, x2 as Integer, y2 as Integer, filled as Integer, inverted as Integer = 0)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Changes made to the frame buffer must be flushed to the LCD screen using flush.
x1: The X coordinate of the top-left corner of the rectangle
y1: The Y coordinate of the top-left corner of the rectangle
x2: The X coordinate of the bottom-right corner of the rectangle
y2: The Y coordinate of the bottom-right corner of the rectangle
filled: If true, the rectangle will be solid. If false, just a single pixel outline.
inverted: If true, clears the region instead of drawing
Calls drawRectAsyncCompleted event later.
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Calls FlushAsyncCompleted event later.
PhidgetLCDMBS.getFontSize(Font as Integer, byref Width as Integer, byref Height as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
font: The specified font
width: The width of the font
height: The height of the font
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
PhidgetLCDMBS.MaxCharacters(font as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
font: The specified font
maxCharacters: The maximum number of characters for the font
PhidgetLCDMBS.saveFrameBuffer(frameBuffer as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Use sparingly. The flash memory is only designed to be written to 10,000 times before it may become unusable. This method can only be called one time each time the channel is opened.
PhidgetLCDMBS.saveFrameBufferAsync(frameBuffer as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Use sparingly. The flash memory is only designed to be written to 10,000 times before it may become unusable. This method can only be called one time each time the channel is opened.
Calls saveFrameBufferAsyncCompleted event later.
PhidgetLCDMBS.setCharacterBitmap(Font as Integer, Character as String, Bitmap as MemoryBlock)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Now, when you use the specific character, the bitmap will show in it's place.
font: The font the character belongs to
character: The character to be changed, in a null-terminated string.
bitmap: Bitmap array as Memoryblock.
PhidgetLCDMBS.setCharacterBitmapAsync(Font as Integer, Character as String, Bitmap as MemoryBlock)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Now, when you use the specific character, the bitmap will show in it's place.
font: The font the character belongs to
character: The character to be changed, in a null-terminated string.
bitmap: Bitmap array as Memoryblock.
Calls setCharacterBitmapAsyncCompleted event later.
PhidgetLCDMBS.setFontSize(Font as Integer, Width as Integer, Height as Integer)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
font: The specified font
width: The width of the font
height: The height of the font
PhidgetLCDMBS.writeBitmap(xPosition as Integer, yPosition as Integer, xSize as Integer, ySize as Integer, Bitmap as MemoryBlock)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Each byte in the array represents one pixel in row-major order.
Changes made to the frame buffer must be flushed to the LCD screen using flush.
xPosition: The X coordinate of the bitmap
yPosition: The Y coordinate of the bitmap
xSize: The length of each row in the bitmap
ySize: The number of rows in the bitmap
bitmap: The bitmap to be drawn
PhidgetLCDMBS.writeBitmapAsync(xPosition as Integer, yPosition as Integer, xSize as Integer, ySize as Integer, Bitmap as MemoryBlock)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Each byte in the array represents one pixel in row-major order.
Changes made to the frame buffer must be flushed to the LCD screen using flush.
xPosition: The X coordinate of the bitmap
yPosition: The Y coordinate of the bitmap
xSize: The length of each row in the bitmap
ySize: The number of rows in the bitmap
bitmap: The bitmap to be drawn
Calls writeTextAsyncCompleted event later.
PhidgetLCDMBS.writeText(Font as Integer, xPosition as Integer, yPosition as Integer, Text as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Changes made to the frame buffer must be flushed to the LCD screen using flush.
font: The font of the text
xPosition: The X position of the start of the text string
yPosition: The Y position of the start of the text string
text: The text to be written
PhidgetLCDMBS.writeTextAsync(Font as Integer, xPosition as Integer, yPosition as Integer, Text as String)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Phidgets | MBS Phidgets Plugin | 22.1 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Writes text to the current frame buffer at the specified location.
Changes made to the frame buffer must be flushed to the LCD screen using flush.
font: The font of the text
xPosition: The X position of the start of the text string
yPosition: The Y position of the start of the text string
text: The text to be written
Calls writeTextAsyncCompleted event later.
The items on this page are in the following plugins: MBS Phidgets Plugin.
