pimoroni / pxt-inkybit

pxt-microbit package for the Pimoroni inky:bit - a three-colour e-ink display for your micro:bit.
MIT License
6 stars 7 forks source link

DrawIcon is not available in blocks mode #10

Open jfo8000 opened 2 years ago

jfo8000 commented 2 years ago

Start up makecode and flip into JavaScript - add this code image

The block definitions are not set up correctly in the extension image

jfo8000 commented 2 years ago

This looks like it's because you have not started your block definition comments with a

// %

for a couple of the apis - draw arrow is the same problem https://github.com/pimoroni/pxt-inkybit/blob/master/inkybit.ts