Page 1 of 1

MIND+ (v1.56) Serial Window Line Termination Options

Unread postPosted:Thu Aug 01, 2019 6:06 am
by tguneysu
Hi,
When the Serial Window is opened up and line termination options are selected to be CR, LF, or CR+LF they do not get set permanently. They revert to the default of NO Line Termination every time.

AND:

When Send is pressed:
If NO LINE TERMINATION is selected --> it sends out a a termination code depending on what was selected the last time SEND was pressed.

Re: MIND+ (v1.56) Serial Window Line Termination Options

Unread postPosted:Fri Aug 02, 2019 2:20 am
by 1938391275
Hi, thanks for your feedback, your first question will be solved in the next version 1.5.7 soon. For your second problem, we have tested it, and it works fine. Maybe could you provide us with more details, such as your project files and a full description about the issue.

Thanks again!
Frances

Re: MIND+ (v1.56) Serial Window Line Termination Options

Unread postPosted:Sat Aug 03, 2019 6:22 pm
by tguneysu
Code below is what I used. It'll display the Serial Data back to the Serial Window to demonstrate the issue.
Simply select a Line Termination option, eg: LINE FEED and SEND a character, eg:A.
ASCII 65 followed by 10 will be sent.
Then select NO LINE TERMINATION and SEND again.
Previous terminators will be sent out again, instead of NONE.
Code: Select all
#include <Microbit_Matrix.h>

double mind_n_df_SerData;

void setup() {
	Serial.begin(115200);
	Serial.println("PORT Ready @ 115200...");
}

void loop() {
	while (!(Serial.available())) {
	}
	mind_n_df_SerData = Serial.read();
	MMatrix.print(mind_n_df_SerData);
	Serial.println(mind_n_df_SerData);
}

Image

Re: MIND+ (v1.56) Serial Window Line Termination Options

Unread postPosted:Mon Aug 05, 2019 6:44 am
by 1938391275
Thanks for your report, we have recorded that problem. We will make it right soon.
Sorry for the inconvenience.

Frances