Details
Draw a line from one point 0 to point 1.
Use
draw_line(x0,y0,x1,y1,color)
- Arguments:
- uint8_t x0:
- The x coordinate of point 0.
- uint8_t y0:
- The y coordinate of point 0.
- uint8_t x1:
- The x coordinate of point 1.
- uint8_t y1:
- The y coordinate of point 1.
- uint8_t color:
- The color of the line.
- WHITE = 1
- BLACK = 0
- INVERT = 2