by Dale Wheat

Safari, the world’s most comprehensive technology and business learning platform.

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required

O'Reilly logo

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. ...

Find the exact information you need to solve a problem on the fly, or go deeper to master the technologies and skills you need to succeed

Start Free Trial

No credit card required