1.. _module-pw_sys_io_arduino: 2 3----------------- 4pw_sys_io_arduino 5----------------- 6.. pigweed-module:: 7 :name: pw_sys_io_arduino 8 9``pw_sys_io_arduino`` implements the ``pw_sys_io`` facade over 10`Arduino's Serial interface <https://www.arduino.cc/reference/en/language/functions/communication/serial/>`_. 11 12On initialization it runs Arduino's first ``Serial`` interface at a 115200 baud 13rate: 14 15.. code-block:: cpp 16 17 Serial.begin(115200); 18 19 // Wait for serial port to be available 20 while (!Serial) {} 21 22After ``Serial.begin(115200)`` it will busy wait until a host connects to the 23serial port. 24 25.. seealso:: 26 - :ref:`target-arduino` target documentation for a list of working hardware. 27 - :ref:`module-pw_arduino_build` for caveats when running Pigweed on top of 28 the Arduino API. 29