TouchShield_Slide - Version: 68

Language of the TouchShield Slide as programmed through the Arduino Environment.

<span style='color:#7f0055; font-weight:bold; '>typedef</span> <span style='color:#7f0055; font-weight:bold; '>struct</span> Point {
<br>    <span style='color:#7f0055; font-weight:bold; '>unsigned</span> <span style='color:#7f0055; font-weight:bold; '>char</span> x; <span style='color:#3f7f59; '>// X coordinate, 8-bit</span>
<br>    <span style='color:#7f0055; font-weight:bold; '>unsigned</span> <span style='color:#7f0055; font-weight:bold; '>char</span> y; <span style='color:#3f7f59; '>// X coordinate, 8-bit</span>
<br>} <span style='color:#7f0055; font-weight:bold; '>POINT</span>;
<br>



Input

Touchscreen

gettouch()
mouseX
mouseY

Shape

2D Primitives

line()
point()
rect()
triangle()
quad()

Color

Setting

fill()
stroke()
background()
nofill()
noStroke()
stroke()




Edit History