你好,我有一个问题是stm8L051F3是否可以执行/计算浮动操作,请帮忙告诉我,目前我无法用printf函数检查它,因为如果使用带有工具选项的库,我的大小超过错误,例子:float devided_Voltage = 0; float high_Voltage = 0; devided_Voltage =(float)(rawADValue / ADC_MAX_RESOLUTION * ADC_MAX_INPUT); high_Voltage =(devided_Voltage *(RESISTER_R8 + RESISTER_R9))/ RESISTER_R9;谢谢。 #stm8l051f3以上来自于谷歌翻译以下为原文 Hello,I have a question as to whether stm8L051F3 can do/calculate the floating operation or not,please help to let me know it,currently I can't check it with printf function, because if using the library with tool option, I got the size over error,example :float devided_Voltage = 0; float high_Voltage = 0; devided_Voltage = (float)(rawADValue / ADC_MAX_RESOLUTION * ADC_MAX_INPUT); high_Voltage = (devided_Voltage * (RESISTER_R8 + RESISTER_R9)) / RESISTER_R9;thanks. #stm8l051f3
2018-11-19 10:36