microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
486 stars 209 forks source link

Serial Block for Makecode Arcade #4145

Open cplichack opened 3 years ago

cplichack commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] Our computer club is using a device that can be used to send brain wave data (Nextmind BCI) via Unity to the serial port of a laptop. We currently use a micro:bit to read and react to the data. We use the serial block in makecode to do this. We would like to interact with a pybadge using makecode arcade to interact with our pybadge games. We need access to the serial port to do this. Describe the solution you'd like A clear and concise description of what you want to happen. A serial block like the one available in makecode to read/write serial data. Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. Not sure if it can be done in Javascript Additional context Add any other context or screenshots about the feature request here. image

abchatra commented 3 years ago

@cplichack Does the following console.log work for you? image

cplichack commented 3 years ago

Hi,

Thanks for the suggestion. I am trying to interact with a C# program that writes a character to the serial port. So, I need to be able to read the character from within my Makecode Arcade game. I can do it with Makecode using the serial block.

Vegz78 commented 1 year ago

How is this getting along, @abchatra? Did/does it work, @cplichack?

abchatra commented 1 year ago

We have not got to this yet.