MPLAB® Harmony in VS Code®: New Project Part 2 - Hello World! STDIO and Loopback @MicrochipDeveloperHelp
MPLAB® Harmony in VS Code®: New Project Part 2 - Hello World! STDIO and Loopback  @MicrochipDeveloperHelp
Uploaded September 2025 | Updated November 2026, 4 days ago
Getting Started Using MPLAB® Harmony in VS Code® (for PIC32C and SAM Development) Playlist:
youtube.com/playlist?list=PLtQdQmNK_0DTGNRV0qKkIEFn2fmrN0q31&si=K9Z9WB0hkz-LrlSh

Building on where we were at the end of the 100 ms Timer video, a SERCOM (Serial Communications Interface) peripheral is now added to the project, which can be configured as USART, SPI or I2C. Here the SERCOM is configured as a UART.

1. A low level, hardware specific function, is used to send "Hello World!", i.e., SERCOM1_USART_Write( ).
2. Then a STDIO binding is added, allowing standard printf, with a count variable.
3. Finally, a USART loopback is implemented, using the context help code snippet. In between, the MPLAB AI Coding Assistant is used, to lend a hand here and there.

In closing, the SYS_CONSOLE is introduced, which offers similar functionality.
MPLAB® Harmony in VS Code®: New Project Part 2 - Hello World! STDIO and LoopbackIntro to Bare Metal Programming - Episode 15: Final Project - Part 2Streamline Your Sensing: Four Thermocouples, One SolutionNoise Analysis: Photodiode Amplifier CircuitGetting Started with the Clock System of PIC32CM Microcontrollers - Part 1: Overview and OperationConfiguring and Running a Debug Session in Microsoft® VS Code® (part 4 of 4)WBZ351 Bluetooth® LE Out-of-Box Demo With Touch and RGB LED ControlReduce Power Consumption in Embedded DesignsCalculating TIE JitterMCC Melody in VS Code®: All Videos SupercutMPLAB® XC Compiler LicensesPIC32CM Migration Guide Part 4: Building with PIC32CM Development Tools Ecosystems
Microchip Developer Help |

MPLAB® Harmony in VS Code®: New Project Part 2 - Hello World! STDIO and Loopback

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER