Blockly Does Trig

tomcrawfordtomcrawford Posts: 959
edited 2018-03-16 - 18:00:02 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.

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

Comments

  • Amazing work Tom!

    I am going to share this with folks on the Blockly for Microcontrollers Facebook Page. I am adding a link to this thread now!
    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • Tom,

    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/
    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
  • I think it was Euclid's great idea...
    Re-inventing the wheel is not a waste of time if, when you are done, you understand why it is round.
  • WhitWhit Posts: 4,032
    edited 2018-04-06 - 19:54:34
    Euclid'ave taken credit...

    S3 Onboard OLED Ping)))Dar is working - from my blog https://roboticsunderthestole.blogspot.com/2018/04/s3-onboard-oled-pingdar-works.html
    Whit+

    "We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." - Walt Disney
Sign In or Register to comment.