0

Neotrellis and Makecode from John Park Workshop
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Neotrellis and Makecode from John Park Workshop

by bryjb2007 on Fri Nov 13, 2020 12:23 pm

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 194 times

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

Re: Neotrellis and Makecode from John Park Workshop

by johnpark on Fri Nov 13, 2020 1:47 pm

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

Let me know if that still gives you those errors.

johnpark
 
Posts: 870
Joined: Wed Mar 25, 2009 2:15 pm

Re: Neotrellis and Makecode from John Park Workshop

by bryjb2007 on Fri Nov 13, 2020 2:31 pm

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!

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

Please be positive and constructive with your questions and comments.