ESP32 'conversion from 'std::__cxx11::string' {aka 'std::__cxx11::basic_string<char>'} to ... 에러관련!!
Embeded2024. 9. 3. 00:38
반응형
ESP32를 아두이노 ide에서 빌드할려고 할때
conversion from 'std::__cxx11::string' {aka 'std::__cxx11::basic_string<char>'} to non-scalar type 'String' requested
에러가 나면서 빌드가 안될때는 임시방편이지만 아래처럼 코드를 수정하면 됩니다
std::string rxValue = pCharacteristic->getValue();
반응형
'Embeded' 카테고리의 다른 글
전력 측정 Power Profiler Kit 2 간단한 사용기!! (0) | 2024.09.07 |
---|---|
ESP32-C3 UART 로그(print) 출력 안될때!! (0) | 2024.09.03 |
LTE 모뎀 SIM7600 모델별 차이!! (0) | 2024.04.03 |
LTE 모뎀 'SIM7600' HTTP GET,POST 통신하기!! (0) | 2024.04.03 |
아이유 응원봉 '아이키' 분해하기!! (1) | 2022.09.26 |