Articles Posted by the Author:

  • loadImage()

    loadImage()

    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 […]


  • PImage.isValid()

    PImage.isValid()

    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 […]


  • PImage.width()

    PImage.width()

    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 […]


  • PImage()

    PImage()

    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 […]


  • PImage.height()

    PImage.height()

    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 […]


  • image()

    image()

    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 […]


  • circle()

    circle()

    Description Draws a circle on the screen. The circle is drawn relative to its center point, which means the total diameter will always be an odd number. Syntax screen.circle(xPos, yPos, radius); Parameters xPos: int, the location of the center of the circle on the x axis yPos: int, the location of the center of the […]


  • height()

    height()

    Description Reports the height of the TFT screen in pixels. Syntax screen.height(); Parameters none Returns int : the height of the screen in pixels Example See also - TFT - width( ) Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons […]


  • width()

    width()

    Description Reports the width of the TFT screen in pixels. Syntax screen.width(); Parameters none Returns int : the width of the screen in pixels Example See also - TFT - height() 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 […]


  • rect()

    rect()

    Description Draws a rectangle to the TFT screen. rect() takes 4 arguments, the first two are the top left corner of the shape, the last two are the width and height of the shape. Syntax screen.rect(xStart, yStart, width, height); Parameters xStart: int, the horizontal position where the line starts yStart: int, the vertical position where […]