/* USER CODE BEGIN 2 */
printf("Hello, i am %sn", "mculover666");
printf("Test int: i = %d", 100);
printf("Test float: i = %f", 1.234);
printf("Test hex: i = 0x%2x",100);
/* USER CODE END 2 */
结果如下:
/* USER CODE BEGIN 2 */
printf("Hello, i am %sn", "mculover666");
printf("Test int: i = %d", 100);
printf("Test float: i = %f", 1.234);
printf("Test hex: i = 0x%2x",100);
/* USER CODE END 2 */
结果如下: