본문 바로가기

ㅤ

검색하기
ㅤ
프로필사진 20230919

  • 분류 전체보기 (27)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/12   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31
Tags
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록전체 글 (27)

ㅤ

017. 웹페이지에 가변저항 을 표시하기

연결도 전체코드 #include #include // 웹서버 관련기능 제공 #define SensorIn A0 const char *ssid = ""; const char *password = ""; const char *mqtt_server = ""; ESP8266WebServer server(80); //html 코드 한번에 저장 raw String html = R"( 센서값 모니터링 clock 가변저항값은? : %d work )"; //r 내의 () 에다가 html 코드를 넣으면 한번에 저장됨 int cnt = 0; //html 문서 안에 조도센서 값을 삽입 하는 함수 void handlePage(){ String html_copy = html; int cdsValue = analogRead( Se..

카테고리 없음 2023. 10. 11. 17:01
이전 Prev 1 ··· 7 8 9 10 11 12 13 ··· 27 Next 다음

Blog is powered by kakao / Designed by Tistory

티스토리툴바