ASCII/Unicode support


#1

Hi there,

for hours I´m searching for ASCII- or Unicode-support in mBlock (5.1) under the (green) operators (and extensions)
like BYOB or SNAP! have it.

I´m a german teacher for computing science and want to use Arduino Boards, a LED and a light sensor to send messages over light pulses as you can say binary.

But therefor the students have to translate characters (with “letter # of word”) in numbers (ASCII/Unicode) and after that a self-written decimal-binary-encoder-block can control a led (i.e. long light for 1 and short for 0).
The receiver decode the light pulses back to numbers, but now again I/you need an ASCII- or Unicode-block.
Please, don´t say me, I have to use a loop with “(word) contains (char)” or something like that. Hundred if-conditions are also sparse helpful.

In Snap4Arduino you have the green Operators-blocks “unicode of (char)” and “unicode (number) as letter”.

Why not using Snap4Arduino? We also have mBot Ranger and my hope is that we don´t have to use different IDEs for different problems. So why not an extension for MBlock 5?

Also for encryption (Caesar, Vigenere, Beaufort, …) these two blocks will be very useful.

Sorry, my first question here and my English teacher would raise his eyebrows.

Regards,
Benny from north Germany