Page 1 of 1

trouble using serial.println

Posted: 13 Dec 2018 00:31
by bastibart
Dear z-uno community

I am having trouble using the serial monitor as debugging console.
Instead of strings the serial monitor outputs the ascii code of the first char only.

void setup() {
serial.begin();
}

void someSetter(value) {
serial.println("a text");
}

output in serial monitor:
98

I am using windows 10
1.8.5 of the ide.
2.1.4 on the board

the z-uno is connected via usb


any ideas ?

Re: trouble using serial.println

Posted: 16 Dec 2018 22:37
by PoltoS
What serial is? Serial (first capital) is a class. Mya be lowercase is another object that have no polymorphic variant for strings