trouble using serial.println

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
bastibart
Posts: 23
Joined: 12 Dec 2018 16:37

trouble using serial.println

Post by bastibart » 13 Dec 2018 00:31

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 ?

User avatar
PoltoS
Posts: 5093
Joined: 26 Jan 2011 19:36

Re: trouble using serial.println

Post by PoltoS » 16 Dec 2018 22:37

What serial is? Serial (first capital) is a class. Mya be lowercase is another object that have no polymorphic variant for strings

Post Reply