描述 在液晶显示器上显示游标。 语法 lcd.cursor() 参数 无参数 范例 - cursor() and noCursor() See also - noCursor() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
描述 在液晶显示器上显示文字。 语法 lcd.print(data) lcd.print(data, BASE) 参数 data:要显示在液晶显示器上的资料,型态可为 char, byte, int, string BASE (非必要):BASE 用来指定资料的格式;可用的格式有:BIN (二进位格式)、OCT (八进位格式)、DEC (十进位格式)、HEX (十六进位格式) 回传 byte:回传输出到液晶显示器上的字元数 范例 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the […]
描述 在液晶显示器上显示字元。 语法 lcd.write(data) 参数 data:要显示到液晶显示器上的字元 回传 byte:回传输出到液晶显示器上的字元数 范例 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
描述 移动液晶显示器的游标至指定位置。 语法 lcd.setCursor(col, row) 参数 col:游标新位置的行数,行数从 0 开始计算 row:游标新位置的列数,列数从 0 开始计算 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
描述 把游标位置移至左上角。如果移动游标的同时也要清除液晶显示器上显示的字元,可以使用 clear()。 语法 lcd.home() 参数 无参数 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
描述 清除液晶显示器目前显示的字元并把游标位置移至左上角。 语法 lcd.clear() 参数 无参数 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
描述 初始化液晶显示器,藉由给予液晶显示器的高度和宽度,让 LiquidCrystal 物件知道液晶显示器的可印范围。 begin() 这个函式必须在呼叫所有 LiquidCrystal 函式库提供的函式之前呼叫。 语法 lcd.begin(cols, rows) 参数 cols:液晶显示器可印范围的行数 rows:液晶显示器可印范围的列数 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
描述 LiquidCrystal 类别实作控制液晶显示器的功能。 LiquidCrystal 类别同时支援 4 或 8 条资料线的连接方式。如果使用 4 条资料线连接,建构 LiquidCrystal 物件时,忽略 d0 ~ d3 的参数。如果 RW 脚位是接地,而不是连接到 86Duino,忽略 rw 这个参数。 语法 LiquidCrystal(rs, enable, d4, d5, d6, d7) LiquidCrystal(rs, rw, enable, d4, d5, d6, d7) LiquidCrystal(rs, enable, d0, d1, d2, d3, d4, d5, d6, d7) LiquidCrystal(rs, rw, enable, d0, d1, d2, d3, d4, d5, […]
描述 检查存在的 UDP 封包并且回传封包大小。呼叫 Udp.read() 前必须先呼叫 parsePacket()。 语法 Udp.parsePacket(); 参数 无参数 回传 int:UDP 封包的大小 范例 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.
描述 取得远端连线的埠编号。 要使用 remoteIP() 前必须先呼叫 UDP.parsePacket()。 语法 Udp.remotePort(); 参数 无参数 回传 int:远端连线的埠编号 范例 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.