microsoft / pxt-chibitronics

Chibitronics Love To Code board editor with Microsoft MakeCode
https://makecode.chibitronics.com
Other
23 stars 15 forks source link

Rgb sticker starter code #253

Open riknoll opened 5 years ago

riknoll commented 5 years ago

@xobs I wrote some code to get you started with the RGB stickers. Here's what it looks like:

rgb_sticker

Things left to do:

  1. This does not work with the scope. Need to come up with a layout that can fit both the stickers and scope at once
  2. If you are using LEDs on multiple pins, they layer on top of each other. We could make the simulator grow smaller to accommodate another row, but any more than that might be pushing it.
  3. Any more than 7 pixels starts to bleed off the side of the screen.
  4. I drew the SVG for the sticker myself, so maybe someone who knows what they are doing should redraw it :smile:

I hope this helps! If you have any questions, feel free to ping me.

xobs commented 5 years ago

Wow, that looks really good!

I'll use this as a starting point for working with RGB LEDs in the simulator.

abchatra commented 5 years ago

@riknoll can you merge this?