MakeCode and NeoTrellis

Microsoft's MakeCode platform for easy blocks-style programming

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
User avatar
Fishe
 
Posts: 40
Joined: Mon Apr 25, 2016 8:50 pm

MakeCode and NeoTrellis

Post by Fishe »

I am using the Adafruit neotrillis M4 as a HID for iRacing admin commands. I have most everything working except for the link to press the enter key. I see most every other key on the keyboard in many combinations. Every command I have needs to have the enter key pressed to execute.

Simply put, what is needed to press the enter key?
Can someone provide some direction.

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

Re: MakeCode and NeoTrellis

Post by johnpark »

I can't test it right now on hardware, but does this work for you?
Screen Shot 2020-12-03 at 9.16.17 AM.png
Screen Shot 2020-12-03 at 9.16.17 AM.png (19.18 KiB) Viewed 657 times

User avatar
Fishe
 
Posts: 40
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

Post by Fishe »

I knew it would be easy

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

Re: MakeCode and NeoTrellis

Post by johnpark »

Hmm, I tried it on a CPX real quick and it didn't work -- it seemed to be typing an "E" but never releasing. So, if that does work on Trellis, awesome! but I'm not sure it will now.

User avatar
Fishe
 
Posts: 40
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

Post by Fishe »

Nope, i think it tried that and many other configs. If you could help it would be great. Looking to have this work

christapherenese/iracing-admin-keypad#master

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

Re: MakeCode and NeoTrellis

Post by johnpark »


User avatar
Fishe
 
Posts: 40
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

Post by Fishe »

Much appreciated

User avatar
Fishe
 
Posts: 40
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

Post by Fishe »

I did post on the makecode forum and no response

User avatar
Fishe
 
Posts: 40
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

Post by Fishe »

Any word, I really would like to get this project completed, but without and enter key it would be useless. additionally, doesn't it make that whole extension incompete.

what about if it was done in JS

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

Re: MakeCode and NeoTrellis

Post by johnpark »

That GitHub issue above is the best place to check for status change from the developers. Looks like one of the devs saw it.

I don't believe using JS would change the behavior.

User avatar
Fishe
 
Posts: 40
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

Post by Fishe »

Looks like it has been added under functions... I am happy

User avatar
Fishe
 
Posts: 40
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

Post by Fishe »

johnpark wrote:That GitHub issue above is the best place to check for status change from the developers. Looks like one of the devs saw it.

I don't believe using JS would change the behavior.
I got it working and proceeding to prototype. I have a few questions.

What would you use to label the elastomer keys, Do you think laser engraving would work?
Do you have the enclosure in any other files but illustrator. I have AutoCAD and inventor. I need to use to set the key descriptions so I can convert for engraving
Sourcing material, I am seeing the enclosure and elastomer keypad are usually out of stock. I would like to get from ADAFruit or should i get from elsewhere

BTW, link to my code

christapherenese/iracing-admin-keypad#master

User avatar
Fishe
 
Posts: 40
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

Post by Fishe »

I was able to convert the file

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

Re: MakeCode and NeoTrellis

Post by johnpark »

That's all great news! Very glad it got added to the block.
I've never tried to mark the elastomer itself, but doing etching or engraving the case top material is a great way to go. If you use a dark color anodized aluminum you can get a very legible engrave with the silver color showing where you engrave. Or, you can do a laser etch on acrylic or wood.
One good trick w etched acrylic is to paint and wipe the surface so the paint only stays in the etched nooks and crannies.

User avatar
Fishe
 
Posts: 40
Joined: Mon Apr 25, 2016 8:50 pm

Re: MakeCode and NeoTrellis

Post by Fishe »

AKP-100.png
AKP-100.png (381.26 KiB) Viewed 530 times
I think I need to BANNED the Elastomer printed. Is that something ADAFruit would do or would you provide the vendor?

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

Return to “MakeCode”