Shop OBEX P1 Docs P2 Docs Learn Events
Blockly Does Trig — Parallax Forums

Blockly Does Trig

tomcrawfordtomcrawford Posts: 1,126
edited 2018-03-16 18:00 in Learn with BlocklyProp
Here is a code snippet of an emulation of an analog clock on the little OLED. I include four photos around 9:00.

It is noteworthy (at least to me) that a floating point package is included even the input to-and the output from-the trig functions are both integers.

2560 x 1920 - 553K
2560 x 1920 - 457K
2560 x 1920 - 480K
2560 x 1920 - 547K

Comments

Sign In or Register to comment.