Description Draws a line between two points. Use stroke() to change the color of something drawn with line(). Syntax screen.line(xStart, yStart, xEnd, yEnd); Parameters xStart: int, the horizontal position where the line starts yStart: int, the vertical position where the line starts xEnd: int, the horizontal position where the line ends yEnd: int, the vertical […]
Description Draws a point at the given coordinates. The first parameter is the horizontal value for the point, the second value is the vertical value for the point. Syntax screen.fill(xPos, yPos); Parameters xPos: int, the horizontal position of the point yPos: int, the vertical position of the point Returns none Example See also - TFT […]
Description Must be called to initialize the Arduino GLCD screen before drawing anything. Syntax screen.begin() Parameters none Returns none Example See also - TFT - EsploraTFT Libraries Reference Home The text of the 86Duino reference is a modification of the 86Duino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in […]
Description Sets the size of text that follows. The default size is “1”. Each change in size increases the text by 10 pixels in height. That is, size “1” = 10 pixels, size “2” = 20 pixels, and so on. Syntax screen.setTextSize(size); Parameters size: 1~5 (int) Returns none Example See also - TFT - text() […]
Description Write text to the screen at the given coordinates. Syntax screen.text(text, xPos, yPos); Parameters text: char array, the text you want to write on the screen xPos: int, the location on the x-axis you want to start drawing text to the screen yPos: int, the location on the y-axis you want to start drawing […]
Description Select the the bank of virtual EEPROM. This function is available from 86Duino Coding 102. For 86Duino Coding 101 or early versions, you should use set_bank() instead. Syntax EEPROM.setBank(bank) Parameters bank: indicate the bank of virtual EEPROM you want to use. EEPROM_16K is the 16 KB bank of virtual EEPROM and EEPROM_200B is the […]
Description Obtains the MAC (Media access control) address of the 86Duino. This function is available from 86Duino Coding 102. Syntax Ethernet.localMAC(); Parameters none Returns an array of 6 bytes that contains the MAC address of the 86Duino Example Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and […]
Description After calling this, any shapes drawn on screen will not be filled in. Syntax screen.noFill(); Parameters none Returns none Example See also - TFT() - fill() - stroke() - background() 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 […]
Description Called before drawing an object on screen, it sets the fill color of shapes and text. fill() expects 8-bit values for each of the red, green, and blue channels, but the screen does not display with this fidelity. The red and blue values are scaled to 5-bit color (32 discrete steps), and the green […]
Description After calling this, any shapes drawn on screen will not have an outline stroke color. Syntax screen.noStroke(); Parameters none Returns none Example See also - TFT - fill() - noFill() - stroke() - background() Libraries Reference Home The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under […]