Blockly Does Trig
tomcrawford
Posts: 1,126
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.
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.
Comments
I am going to share this with folks on the Blockly for Microcontrollers Facebook Page. I am adding a link to this thread now!
Stole your great idea - I am working on an onboard PingDar for the S3.
Here is a video of the current progress - https://www.facebook.com/groups/blockly/permalink/2090953994459956/
S3 Onboard OLED Ping)))Dar is working - from my blog https://roboticsunderthestole.blogspot.com/2018/04/s3-onboard-oled-pingdar-works.html