package com.hanqi.test; public class Clock { int hh; int mm; int ss; String time; Clock(int h,int m,int s) { hh=h; mm=m; ss=s; time=hh+"时"+mm+"分"+ss+"秒"; } String show() { return time; } } package com.hanqi.test; public class
实验现象: 核心代码: int main(void) { /* USER CODE BEGIN 1 */ RTC_TimeTypeDef sTime; RTC_DateTypeDef sDate; ; /* USER CODE END 1 */ /* MCU Configuration----------------------------------------------------------*/ /* Reset of all peripherals, Initializes the F
实验现象: 核心代码: int main(void) { /* USER CODE BEGIN 1 */ RTC_DateTypeDef sDate; RTC_TimeTypeDef sTime; uint8_t second_tmp = ; /* USER CODE END 1 */ /* MCU Configuration----------------------------------------------------------*/ /* Reset of all periphera