Function arduboy_rust::prelude::serial::begin

source ·
pub fn begin(baud_rates: u32)
Expand description

Sets the data rate in bits per second (baud) for serial data transmission. For communicating with Serial Monitor, make sure to use one of the baud rates listed in the menu at the bottom right corner of its screen. You can, however, specify other rates - for example, to communicate over pins 0 and 1 with a component that requires a particular baud rate.

Example

use arduboy_rust::prelude::*;
serial::begin(9600)