标签: arduino arduino-uno
当我在arduino上运行此代码时,我收到以下错误,“从int转换为char无效”。我需要做些什么才能摆脱这个错误?
int TP_init(){ delay(10); int measurement=pulseIn (EP, HIGH); //wait for the pin to get HIGH and returns measurement return (measurement); writeToFile(int(measurement)); closeFile();