Page 1 of 1

MIND+ (v1.56) Number to ASCII

Unread postPosted:Thu Aug 01, 2019 6:21 am
by tguneysu
In MIND+ transform Number to ASCII operator is NOT working.
When "Transform 97 to ASCII" is executed, it displays 97 instead of "a".

Sample Code demonstarting the problem:
Code: Select all
#include <Microbit_Matrix.h>

void buttonACallback()
{
	MMatrix.print((toascii('a')));
}

void buttonBCallback()
{
	MMatrix.print((char(97)));
}


void setup() {
	onEvent(ID_BUTTON_A, PRESS, buttonACallback);
	onEvent(ID_BUTTON_B, PRESS, buttonBCallback);
}

void loop() {

}

Re: MIND+ (v1.56) Number to ASCII

Unread postPosted:Fri Aug 02, 2019 1:59 am
by 1938391275
Thanks for your feedback, we will solve it in the next version. Currently, there are two ways to avoid that problem, click the link to see the image
1.
https://github.com/Frances9/Mind-image/ ... g?raw=true

2.
https://github.com/Frances9/Mind-image/ ... g?raw=true

Frances