📄 lcd.java
字号:
package lejos.nxt;/** * LCD routines. */public class LCD{ private LCD() { } /** * Display a string on the LCD at specified x,y co-ordinate. */ public static native void drawString(String str, int x, int y); /** * Display an int on the LCD at specified x,y co-ordinate. */ public static native void drawInt(int i, int x, int y); /** * Display an in on the LCD at x,y with leading spaces to occupy at least the number * of characters specified by the places parameter. */ public static native void drawInt(int i, int places, int x, int y); /** * Update the display. */ public static native void refresh(); /** * Clear the display. */ public static native void clear(); /** * Write graphics from a Java buffer to the display. */ public static native void setDisplay(int[] buff);}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -