sprintf用法 sprintf(string,"%f",num);string是一個字符串,num是你要的數字,這樣就能將浮點數num轉成字符串string了,你那個寫法是錯的,后面還有對指針進行運算也是不對的。 ...
void (*pFunction)(void); typedef void (*pFunction)(void); JumpAddress = *(__IO uint32_t*) (DEF_FLASH_AppStartaddr + ...