Skip to content

Instantly share code, notes, and snippets.

@geopelia
Created June 21, 2019 00:23
Show Gist options
  • Save geopelia/2bc3a94e0ac2991d98ee6379980fa054 to your computer and use it in GitHub Desktop.
Save geopelia/2bc3a94e0ac2991d98ee6379980fa054 to your computer and use it in GitHub Desktop.
SCRIPT-8
draw = () => {
clear()
var i =0;
var y = 0;
for (var j = 0; j < 16; j++) {
i = (25*j)+j;
//print(0,8*j,i,1)
if (i > 127) {
i = (25*y)+y;
y++;
if (i > 127) {
y = 0
}
}
print(i,8*j,'ACSEL-'+j, j )
}
}
{
"iframeVersion": "0.1.255",
"lines": [
18,
0,
0,
0,
0,
0,
0,
0
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment