O'Reilly logo

Arduino Internals by Dale Wheat

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Saving Space with Simple Serial Communication

The Arduino's Serial library is very convenient and does a lot of different, useful things. In Chapter 2, you successfully ported the classic C program “Hello, world!” to the Arduino and replaced printf() with Serial.println(). Sometimes, however, you only need to send a few simple messages or report a reading or two. In these situations, you may want to save some program space by replacing Serial with the bare minimum of code necessary to send or receive data.

images Note Baud rate or bits per second (bps)? Technically, these terms don't mean the same thing, although they're often used interchangeably. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required