EthercatDevice_QECRXXUN01.lcdDrawTriangle()

[EthercatDevice_QECRXXUN01]

説明

Draw the triangle.

Class Modules

class EthercatDevice_QECR11UN01;
/* RJ45 power [1, 1]. */
class EthercatDevice_QECR00UN01;
/* RJ45 power [0, 0]. */

Format

int lcdDrawTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color);

Syntax

EthercatDevice_QECR11UN01 slave;
slave.lcdDrawTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color);

Parameters

  • int16_t x0: the starting point of x position.
  • int16_t y0: the starting point of y position.
  • int16_t x1: the first point of x position.
  • int16_t y1: the first point of y position.
  • int16_t x2: the second point of x position.
  • int16_t y2: the second point of y position.
  • uint16_t color: color.

Returns

Int: 0 for successful; if the return value is smaller than 0 means error.


Libraries Reference Home

86Duino のリファレンスのテキストは Arduino レファレンス を編集したもので、 Creative Commons Attribution-ShareAlike 3.0 License下でライセンスされています。リファレンス内のコードサンプルはパブリックドメインとして公開されています。

コメントする

上部へスクロール