[Arudino]WiFi.localIP() to char

2022. 8. 22. 17:20·1&2학년/[2022 03 ~ 09] IoT Project

https://forum.arduino.cc/t/converting-message-types-from-one-kind-to-another/574574/3

 

Converting message types from one kind to another.

WiFi.localIP() I guess that returns a String. So, use the c_str() method.

forum.arduino.cc

 

요약: WiFi.localIP()는 리턴 형식이 IPAddress, toString 메소드를 이용하여 String 형식으로 바꿔준 후 c_str을 사용해 char로 바꿔줘야함.. 

 

자세한 내용은 추후 추가 

'1&2학년 > [2022 03 ~ 09] IoT Project' 카테고리의 다른 글

결과  (0) 2022.12.27
[C언어(arduino)] 문자열 반환하는 함수  (0) 2022.08.25
[Arduino vscode] 헤더파일  (0) 2022.08.22
[Vscode]Output path is not specified. Unable to reuse previously compiled files. Build will be slower. See README.  (0) 2022.08.08
MQTT api document  (0) 2022.08.08
'1&2학년/[2022 03 ~ 09] IoT Project' 카테고리의 다른 글
  • 결과
  • [C언어(arduino)] 문자열 반환하는 함수
  • [Arduino vscode] 헤더파일
  • [Vscode]Output path is not specified. Unable to reuse previously compiled files. Build will be slower. See README.
JaewonAhn
JaewonAhn
  • JaewonAhn
    JwAhn_Embedded
    JaewonAhn
  • 전체
    오늘
    어제
    • 분류 전체보기 (136)
      • MCU (21)
        • esp32 (6)
        • stm32 (15)
      • SW (30)
        • 백준 (27)
        • C, C++ (2)
        • 자료구조 (0)
        • 파이썬 (1)
      • Tool (2)
        • KiCAD (0)
        • Git (0)
        • Visual Studio Code (1)
        • CubeIDE (1)
      • Balancing robot (28)
        • HW (11)
        • FW&SW (2)
        • 일지 (13)
        • 이론공부 (1)
      • 1&2학년 (17)
        • 1학년(2021) (2)
        • 2학년(2022) (4)
        • [2022 03 ~ 09] IoT Project (8)
        • [2022 09 ~ 12] 융합 프로젝트 (3)
      • 2025(학부 3학년) (14)
        • 신호 및 시스템 (1)
        • 전자회로 (0)
        • 제어 및 AI 입문 (3)
        • 임베디드시스템 (8)
        • 기타 (2)
      • 잡솔 (3)
      • 군대 (7)
        • 이등병 (1)
        • 일병 (4)
        • 병장 (2)
      • Driving_Assistance_Device (14)
        • Hailo (7)
        • 일지 (3)
        • 기타 (4)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
  • 링크

  • 공지사항

  • 인기 글

  • 태그

    백준
    vscode
    뇌절
    10828
    10866
    합성함수의 미분법
    2학년
    nucelo
    plotly
    library
    스택
    이계도함수
    9012
    10845
    쇠막대기
    arudino
    10799
    headerfile
    WiFi.local() to char
    Arduino
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
JaewonAhn
[Arudino]WiFi.localIP() to char
상단으로

티스토리툴바