Articles Posted in the " " Category

  • WiFi.encryptionType()

    WiFi.encryptionType()

    描述 取得无线网路的加密方法。 语法 WiFi.encryptionType(); WiFi.encryptionType(wifiAccessPoint); 参数 wifiAccessPoint:指定要取得资讯的无线网路 回传 byte:不同的值代表不同的加密方法,详见下述   TKIP (WPA) = 2   WEP = 5   CCMP (WPA) = 4   NONE = 7   AUTO = 8 范例 函式库参考主页面 The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 […]


  • WiFi.scanNetworks()

    WiFi.scanNetworks()

    描述 搜寻邻近的无线网路。 语法 WiFi.scanNetworks(); 参数 无参数 回传 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.


  • WiFi.getSocket()

    WiFi.getSocket()

    描述 取得可用的插座(socket)。 语法 WiFi.getSocket(); 参数 无参数 回传 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.


  • WiFi.macAddress()

    WiFi.macAddress()

    描述 取得 WiFi Shield 的 MAC 位址。 语法 WiFi.macAddress(mac); 参数 mac:mac 是一个大小为 6 位元组的阵列,macAddress() 执行完后,会把 WiFi Shield 的 MAC 位址放到 mac 裡 回传 无回传值 范例 函式库参考主页面 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 […]


  • loadImage()

    loadImage()

    描述 载入图片到 PImage 物件。 语法 screen.loadImage(name); 参数 name:在 SD 卡中的图片名称,型态为 char array 回传 无回传值 范例 See also - image() - PImage 函式库参考主页面 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 […]


  • PImage.isValid()

    PImage.isValid()

    描述 检查 PImage 物件裡存放的图片是否符合规范。 语法 image.isValid(); 参数 无参数 回传 boolean:如果存放的图片符合规范回传 true,反之回传 false 范例 See also - image - loadImage( ) - PImage.width( ) - PImage.height( ) 函式库参考主页面 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 […]


  • PImage.width()

    PImage.width()

    描述 取得 PImage 物件中存放的图片的宽度。 语法 image.width(); 参数 无参数 回传 int:图片宽度,单位为像 范例 See also - image - loadImage( ) - PImage.isValid( ) - PImage.height( ) 函式库参考主页面 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 […]


  • PImage()

    PImage()

    描述 存放要显示在萤幕上的图片的类别。要使用 PImage 必须引入 SD 函式库。 语法 PImage image; 参数 image:PImage 物件的名称 回传 无回传值 范例 See also - image - loadImage() - isValid() 函式库参考主页面 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 […]


  • PImage.height()

    PImage.height()

    描述 取得 PImage 物件中存放的图片的高度。 语法 image.height(); 参数 无参数 回传 int:图片高度,单位为像 范例 See also - image - loadImage( ) - PImage.isValid( ) - PImage.width( ) 函式库参考主页面 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 […]


  • image()

    image()

    描述 显示 SD 卡中的图片到萤幕上指定的位置。 语法 screen.image(image, xPos, yPos); 参数 image:PImage 物件的名称 xPos:图片左上角位置的 x 轴座标,型态为 int yPos:图片左上角位置的 y 轴座标,型态为 int 回传 无回传值 范例 See also - loadImage() - PImage 函式库参考主页面 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 […]