Close

micros.js created

A project log for Barnabas Blocks Upgrade - BIG 2021

Webserial API webtool to upload Arduino code.

richardrichard 07/29/2021 at 21:302 Comments

7/29/21

Following Ed's instructions, I created a micros.js file that is referenced to from index. This js file is used in conjunction with arduino_compressed.js and blocks_compressed.js. Basically, everything needed for micros() to function is in the micros.js file.

A couple questions did come up while putting the code together(and I emphasize "putting it together" because there wasn't much I did except analyze the code for what's necessary), 1) Why can't I seem to consolidate the two over-arching UMDs?(New term I learned while googling! the function(root, factory)). If anybody can shed some light on that, that'd be awesome.

Also, should I change the block's location, what other changes would I need to make to code?

Heading to Norcal soon! Have a great weekend everyone :)

Discussions

Edward Li wrote 07/30/2021 at 01:36 point

nice!

  Are you sure? yes | no

richard wrote 07/30/2021 at 01:09 point

UPDATE: Created own Time category w/ new color for block as well.

  Are you sure? yes | no