Articles Posted by the Author:

  • 在 Winodws XP 下安装 86Duino 开发环境

    在 Winodws XP 下安装 86Duino 开发环境

    以下以一系列的连续图示,说明把 86Duino 开发板插上 Windows XP 电脑后,安装 86Duino 驱动程式的步骤。 (回到 在 Windows 下使用 86Duino 页面。) Getting-Started Home The text of the 86Duino reference is licensed under a Creative Commons Attribution-ShareAlike 3.0 License.


  • mkdir()

    mkdir()

    描述 在 MicroSD 卡上建立资料夹。建立资料夹时会把资料夹路径中所有不存在的资料夹都新增,举例来说要建立的资料夹路径为 a/b/c,如果资料夹 a、a/b、a/b/c 都不存在,则一共会建立三个资料夹,分别为 a、a/b、a/b/c。 语法 SD.mkdir(dir_name) 参数 dir_name:要建立的资料夹路径,路径应该要以 “/” 分隔资料夹名称 回传 bool:如果建立资料夹成功则回传 true,反之回传 false See also - rmdir() 函式库参考主页面 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 […]


  • exists()

    exists()

    描述 检查指定的档案或是资料夹是否存在 MicroSD 卡。 语法 SD.exists(filename) 参数 filename:要测试是否存在的档案或资料夹路径,路径应该要以 / 分隔资料夹名称 回传 bool:如果指定的档案或是资料夹存在则回传 true,反之回传 false 函式库参考主页面 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.


  • begin()

    begin()

    描述 初始化 SD 函式库和 MicroSD 卡。 语法 SD.begin() SD.begin(cspin) 参数 cspin (非必要):这个参数在 86Duino 上是用不到的,但为了相容 Arduino 因此保留这个参数。 回传 bool:如果成功回传 true,反之回传 false 函式库参考主页面 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.


  • createChar()

    createChar()

    Description 自订客製化的字元,最多可以自订八个 5*8 的字元,每个自订字元会有一个编号,编号从 0 ~ 7。每个自订字元使用一个内含有 8 个位元组的阵列来储存,其中每个位元组只会使用到 0 ~ 4 五个位元,如果在这 0 ~ 4 的位元设定为 1 代表要液晶显示器的这格亮,如果设定为 0 则代表要暗。要显示自订字元时把自订字元的编号作为参数传入 write() 函式。 注:当要使用编号为 0 的自订字元时,如果作为参数给 write() 函式的不是变数,应该要把型态转换为 byte,否则会发生编译错误,详见以下范例。 语法 lcd.createChar(num, data) 参数 num:自订字元的编号 data:存放自订字元的阵列 范例 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a […]


  • rightToLeft()

    rightToLeft()

    描述 设定液晶显示器显示字元的排列方式为由右至左(预设为由左至右),这设定不影响已经显示在液晶显示器上的字元。 语法 lcd.rightToLeft() 参数 无参数 See also - leftToRight() 函式库参考主页面 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.


  • leftToRight()

    leftToRight()

    描述 设定液晶显示器显示字元的排列方式为由左至右(预设的状态),这设定不影响已经显示在液晶显示器上的字元。 语法 lcd.leftToRight() 参数 无参数 See also - rightToLeft() 函式库参考主页面 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.


  • noAutoscroll()

    noAutoscroll()

    描述 关闭液晶显示器自动滚动的功能。 语法 lcd.noAutoscroll() 参数 无参数 See also - autoscroll() 函式库参考主页面 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.


  • autoscroll()

    autoscroll()

    描述 启动液晶显示器自动滚动的功能,启动自动滚动的功能后,如果目前字元排列的方式是由左至右(预设的状态),每次有新的字元要显示在液晶显示器上时,都会使原本显示的字元往左移动一行,反之如果是由右至左则会往右移动一行,如此使每次新加入的字元都会在同一个位置上。 语法 lcd.autoscroll() 参数 无参数 See also - noAutoscroll() 函式库参考主页面 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.


  • scrollDisplayRight()

    scrollDisplayRight()

    描述 使液晶显示器上显示的资料往右移动一行。 语法 lcd.scrollDisplayRight() 参数 无参数 范例 - scrollDisplayLeft() and scrollDisplayRight() See also - scrollDisplayLeft() 函式库参考主页面 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.