...

반응형

 

ESP32를 아두이노 ide에서 빌드할려고 할때

 

conversion from 'std::__cxx11::string' {aka 'std::__cxx11::basic_string<char>'} to non-scalar type 'String' requested

 

에러가 나면서 빌드가 안될때는 임시방편이지만 아래처럼 코드를 수정하면 됩니다

 

std::string rxValue = pCharacteristic->getValue();
반응형