Go Down

Topic: Serial.print and Serial.println are different ... (Read 1 time) previous topic - next topic


Serial - print handles byte and unsigned int, not so does println.
I think a function like the following is missing. Isn't it?

void HardwareSerial::println(unsigned int n)

But there is an declaration for uint8_t.

By the way ... How can I recompile or use changes in the libraries in Ardunio 0010?

thanks for answering.



The function:

void HardwareSerial::println(unsigned int n)

will be in Arduino 0011.

To change things in hardware/cores/arduino, just edit the files.  Next time you compile or upload your program, it should use the new source.  To change things in hardware/libraries, you either need to delete the .o files or switch boards (in the Tools > Boards menu).


Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131