Skip to content

Serial

A serial connection allows you to communicate with your device. Capyboard has a USB-C connector with a fully functional serial interface.

Connect your Capyboard to a computer, download the starter template, build it, flash the firmware, and watch the serial output for messages. You should see a simple "Hello!" message over and over.

Hello!
Hello!
Hello!
Hello!

Challenges

Challenge 1

Generante an n-sized triangle.

#
# #
# # #
# # # #
# # # # #
# # # # # #
Challenge 2

Generante an n-sized triangle aligned to the right.

          #
        # #
      # # #
    # # # #
  # # # # #
# # # # # #
Challenge 3

Generante an n-sized triangle aligned to the center.

     #
    # #
   # # #
  # # # #
 # # # # #
# # # # # #