Neotrellis and Makecode from John Park Workshop

Microsoft's MakeCode platform for easy blocks-style programming

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
bryjb2007
 
Posts: 2
Joined: Sun Mar 03, 2019 5:32 pm

Neotrellis and Makecode from John Park Workshop

Post by bryjb2007 »

Hi all,
I am trying to recreate the Neotrellis Makecode that John Park did on his latest Workshop https://www.youtube.com/watch?v=GMYvbAI4wG8

Built the whole thing and I can't get past 2 errors I have in the Forever Loop. The screenshot I am appending shows the whole structure with the two errors.

One error that is in the "set default_color" right underneath the "if" reads "Property 'pixelColor' does not exist on type 'number'."

The second error is in the last "set" underneath the "pause" of that forever loops and reads "Argument of type 'NeoPixelStrip' is not assignable to to parameter of type 'number'.

These feel totally related but not quite sure what to do. My Makecode experience is really nonexistent but definitely want to recreate this Neotrellis synth in that video!

Wondering if anyone can help! Thanks!!
Attachments
neo_makecode.JPG
neo_makecode.JPG (130.89 KiB) Viewed 415 times

User avatar
johnpark
 
Posts: 985
Joined: Wed Mar 25, 2009 2:15 pm

Re: Neotrellis and Makecode from John Park Workshop

Post by johnpark »

Hi, here's the code I made: https://makecode.com/_2E6HH4Cg9bju

Let me know if that still gives you those errors.

User avatar
bryjb2007
 
Posts: 2
Joined: Sun Mar 03, 2019 5:32 pm

Re: Neotrellis and Makecode from John Park Workshop

Post by bryjb2007 »

Oh fantastic thank you so much. My problem was in the 1st "Set default color". This worked for me, thanks a ton. Such a very cool project!

Locked
Please be positive and constructive with your questions and comments.

Return to “MakeCode”