Blockly Does Trig

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.

Re-inventing the wheel is not a waste of time if, when you are done, you understand why it is round.

Comments

Sign In or Register to comment.