This is the firmware for the LaOS - Laser Open Source project. You can use it to drive a laser cutter. For hardware and more information, look at our wiki: http://wiki.laoslaser.org
Dependencies: EthernetNetIf mbed
LaosDisplay Class Reference
LaosDisplay Connect to LCD terminal or PC Example: More...
#include <LaosDisplay.h>
Public Member Functions | |
LaosDisplay () | |
Make new LaosDisplay object. | |
void | write (char *s) |
Display string at position (x,y) | |
void | cls () |
Clear screen. | |
int | read () |
Read key value. |
Detailed Description
LaosDisplay Connect to LCD terminal or PC Example:
Definition at line 35 of file LaosDisplay.h.
Constructor & Destructor Documentation
LaosDisplay | ( | ) |
Make new LaosDisplay object.
Definition at line 40 of file LaosDisplay.cpp.
Member Function Documentation
void cls | ( | ) |
Clear screen.
Definition at line 80 of file LaosDisplay.cpp.
int read | ( | ) |
Read key value.
(non blocking)
- Returns:
- (ASCII) character value, zero if no character is available
Definition at line 89 of file LaosDisplay.cpp.
void write | ( | char * | s ) |
Display string at position (x,y)
- Parameters:
-
x x position in characters (zero based) y y position in characters (zero based) s The string to display
Definition at line 66 of file LaosDisplay.cpp.
Generated on Tue Jul 12 2022 21:03:04 by 1.7.2