Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

What are the new features being tested by MakeCode

Shulou Source: shulou.com Published: 2022-06-01 08:27:02 10月02日 Update

MakeCode is testing what are the new features, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

The MakeCode editor includes many new features and bug fixes in the 2019 update. These features are currently available for testing in the beta version, and you can access https://makecode.microbit.org/beta. through this URL

Function with parameters

You can now pass parameters to the function. This example passes two numbers as parameters and then displays them on the LED display.

Green screen

The green screen allows you to use a webcam or green screen as the background for your workspace. Using the screencapture software, you can record demonstrations or tutorials in an editor. You can enable it in the settings menu.

Script Manager

The home screen now includes the ability to search, copy, delete and list items. It is convenient if you have saved a large number of projects in your browser.

UTF8 characters are supported in strings

Updated servo function

The modules in the servo extension have been improved to help you calibrate and better control the servo motor

Updated radio reception function

Previously, if you renamed a value in a Radio Received block, the data type did not change; that is, strings kept strings and numbers kept numbers. To solve this problem, we now use fixed names as received values-so they won't show up in the variable Toolbox drawer, and you won't be able to rename them.

Convert to String

Convert to string converts numbers and Boolean values to strings.

Updated document

Garbage collector

A "garbage collector" is introduced to improve memory usage. From MDN, "the high-level language embeds a piece of software called garbage collector, whose job is to track memory allocation and usage so that it is automatically released when memory allocation is no longer needed."

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Tags: Characters strings functions numbers updates memory parameters garbage collector servo help new features tests functions screens editors software projects assignments work Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL vpn Microsoft Linux Huawei