Microsoft MakeCode

Video: new Data Logging system example with code

Code is in the description of the video. Jason Davies developed the program to show light levels and sound levels in data logging example and display on Microbit V2.0 and 51-bit Colorbit ; note that the program must be loaded into MakeCode for Microbit BETA , as shown in the video:
https://makecode.microbit.org/beta#editor; when you click on the ‘share URL’ in description you will get errors in the code so insert “beta” before the # sign in the header in edit mode .