0

Serial Output with Multiple Lines

Requires

This project outputs multiple lines of text from your Arduino board to a computer via serial connection.

The Arduino sends four different text messages sequentially, with a separator line of dashes, pausing for two seconds before repeating the sequence. When connected to your computer, these messages can be viewed in Code Kit’s built-in Serial Monitor, creating a structured, multi-line output display.

Code Kit Logo
Serial Output with Multiple Lines (Cookbook)
Edit in Code Kit
115200start serial atb/son startLine 1Line 2Line 3------2000waitmssendNewline?sendNewline?sendNewline?sendNewline?forever

Parts List

  • Arduino board
  • USB cable

Assembly Instructions

  1. Connect your Arduino board to your computer
  2. Open the Serial Monitor in Code Kit
  3. Select the correct baud rate (115200) from the dropdown menu
  4. Observe the sequential display of multiple text lines followed by a separator