Description Gets the encryption type of the current network. Syntax WiFi.encryptionType(); WiFi.encryptionType(wifiAccessPoint); Parameters wifiAccessPoint: specifies which network to get information from Returns byte : value represents the type of encryption – TKIP (WPA) = 2 – WEP = 5 – CCMP (WPA) = 4 – NONE = 7 – AUTO […]
Description Scans for available WiFi networks and returns the discovered number. Syntax WiFi.scanNetworks(); Parameters none Returns byte : number of discovered networks Example Libraries Reference 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 […]
Description Gets the first socket available. Syntax WiFi.getSocket(); Parameters none Returns int : the first socket available Libraries Reference 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.
Description Gets the MAC Address of your WiFi shield. Syntax WiFi.macAddress(mac); Parameters mac: a 6 byte array to hold the MAC address Returns byte array : 6 bytes representing the MAC address of your shield Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed […]
Description Loads an image file from the SD card into a named instance of PImage. Syntax screen.loadImage(name); Parameters name: char array, the name of the image from the SD card you wish to read Returns none Example See also - image() - PImage Libraries Reference Home The text of the 86Duino reference is a modification […]
Description Checks if a named instance of PImage references a valid bitmap file. Syntax image.isValid(); Parameters none Returns boolean Example See also - image - loadImage( ) - PImage.width( ) - PImage.height( ) Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative […]
Description Checks the width of the PImage object. Syntax image.width(); Parameters none Returns int : the image’s width in pixels Example See also - image - loadImage( ) - PImage.isValid( ) - PImage.height( ) Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a […]
Description The base class for drawing a bitmap image from the SD card onscreen. You must include the SD library to use PImage. Syntax PImage image; Parameters image: the name of the PImage object. You’ll refer to this when drawing images on screen. Returns none Example See also - image - loadImage() - isValid() Libraries […]
Description Checks the height of the PImage object. Syntax image.height(); Parameters none Returns int : the image’s height in pixels Example See also - image - loadImage( ) - PImage.isValid( ) - PImage.width( ) Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a […]
Description Draws an image from the SD card to the screen at a specified location. Syntax screen.image(image, xPos, yPos); Parameters image: a named instance of PImage. xPos: int, location on the x-axis to start drawing yPos: int, location on the y-axis to start drawing Returns none Example See also - loadImage() - PImage Libraries Reference […]