Articles Posted by the Author:

  • line()

    line()

    描述 在指定的两个点之间画一条线。 使用 stroke() 改变 line() 画出的线的颜色。 语法 screen.line(xStart, yStart, xEnd, yEnd); 参数 xStart:线段起始点的位置中的 x 座标,型态为 int yStart:线段起始点的位置中的 y 座标,型态为 int xEnd:线段终点的位置中的 x 座标,型态为 int yEnd:线段终点的位置中的 y 座标,型态为 int 回传 回传值 范例 See also - TFT - stroke() - point() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and […]


  • point()

    point()

    描述 在指定的萤幕位置显示点。 语法 screen.fill(xPos, yPos); 参数 xPos:要显示文字的位置中的 x 座标,型态为 int yPos:要显示文字的位置中的 y 座标,型态为 int 回传 回传值 范例 See also - TFT - line() 函式库参考主页面 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 […]



  • setTextSize()

    setTextSize()

    描述 设定文字的大小。预设值是 1。每增加 1 代表文字的高度会增加 10 像素,1 = 10 像素,2 = 20 像素,以此类推。 语法 screen.setTextSize(size); 参数 size: 1~5,型态为 int 回传 无回传值 范例 See also - TFT - text() - stroke() 函式库参考主页面 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 […]


  • text()

    text()

    描述 在指定的萤幕位置显示文字。 语法 screen.text(text, xPos, yPos); 参数 text:存放要显示的文字,型态为 char 阵列 xPos:要显示文字的位置中的 x 座标,型态为 int yPos:要显示文字的位置中的 y 座标,型态为 int 回传 无回传值 范例 See also - TFT - stroke() 函式库参考主页面 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 […]


  • setBank()

    setBank()

    Description 选择要用哪一种类型的虚拟 EEPROM。 从 86Duino Coding 102 版本以后才能使用这个函式。86Duino Coding 101 或更早的版本,你应该要使用 set_bank() 来代替。 语法 EEPROM.setBank(bank) 参数 bank: 指定你要使用的虚拟 EEPROM 类型,EEPROM_16K 是 16K 大小的 flash 虚拟 EEPROM,EEPROM_200B 是 200-byte 大小的 CMOS 虚拟 EEPROM。预设的类型是 EEPROM_16K。 回传 无回传值 范例 See also - EEPROM.read() - EEPROM.write() 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino […]


  • Ethernet.localMAC()

    Ethernet.localMAC()

    描述 取得 86Duino 的 MAC 位址。86Duino Coding 102 (含)以后的版本才有支援此函式。 语法 Ethernet.localMAC(); 参数 回传 一个包含 86Duino MAC 位址的阵列,大小为 6 bytes。 范例 函式库参考主页面 本页由热血自造者 Allen Chang 译自英文版。 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 […]


  • noFill()

    noFill()

    描述 取消填满图形。 语法 screen.noFill(); 参数 无参数 回传 无回传值 范例 See also - TFT() - fill() - stroke() - background() 函式库参考主页面 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.


  • fill()

    fill()

    描述 在萤幕上显示任何东西前呼叫这个函式,该函式使得显示的图形以及文字被指定的颜色填满。 fill() 的三个参数 red, green, blue,大小都是 8-bit,但是 fill() 在显示时,red 和 blue 只会使用 5-bit,green 只会使用 6-bit,使用等比例的方法把原本的值缩小。 语法 screen.fill(red, green, blue); 参数 red:红色的数值,范围为 0~255,型态为 int green:绿色的数值,范围为 0~255,型态为 int blue:蓝色的数值,范围为 0~255,型态为 int 回传 无回传值 范例 See also - TFT - noStroke() - stroke() - noFill() 函式库参考主页面 The text of the 86Duino reference is a modification of the […]


  • noStroke()

    noStroke()

    描述 呼叫这个函式取消线段的颜色。 语法 screen.noStroke(); 参数 无参数 回传 无回传值 范例 See also - TFT - fill() - noFill() - stroke() - background() 函式库参考主页面 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 […]