ESP32ã§ledcWrite()ã使ã£ã¦PWMåºåããããwak-tech Advent Calender2018ã wak-tech Advent Calender2018ã3æ¥ç®ã§ããä¸äººã§ãã åèã«ããã¦ããã ãããã¼ã¸ ESP32-WROOM-32 ãã³é ç½® LED_PWMã使ã£ã¦LEDã®æãããå¶å¾¡ããå®é¨(ESP-WROOM-32) å 人ãå± ãã¨ããã®ã¯ã©ãã ãããããããã¨ãããåããããã¾ãã åãã¦ããæ§å åè·¯ GPIOã®26ãã³ãã510Ωã®æµæã伸ã°ãããã®å ã«èµ¤è²LEDãæ¥ç¶ãããããã¯ãã GNDã«ç¹ãã ã ãã®ã·ã³ãã«ãªåè·¯ã§ãã PWMã¨ã¯ PWMã¨ã¯ã(Pulse Width Modulation) ã®ç¥ã§ãç´°ãããªã³ãªããç¹°ãè¿ããã¨ã§å¹³åã¨ãã¦ã¢ããã°ã®åºåãåºãä»çµã¿ã®äºã§ãã ãã¤ã³ã³ã¯åºæ¬ãªã³ãªãããã§ãã¾ããããªã³ã«ããã¨ãã®LEDã®æããã1
{{#tags}}- {{label}}
{{/tags}}