HW-394 ESP-WROOM-32 BuiltIn LED Blink examples
/*
Blink
Turns an LED on for one second, then off for one second, repeatedly.
Most Arduinos have an on-board LED you can control. On the UNO, MEGA and ZERO
it is attached to digital pin 13, on MKR1000 on pin 6. LED_BUILTIN is set to
the correct LED pin independent of which board is used.
If you want to know what pin the on-board LED is connected to on your Arduino
model, check the Technical Specs of your board at:
https://www.arduino.cc/en/Main/Products
modified 8 May 2014
by Scott Fitzgerald
modified 2 Sep 2016
by Arturo Guadalupi
modified 8 Sep 2016
by Colby Newman
This example code is in the public domain.
https://www.arduino.cc/en/Tutorial/BuiltInExamples/Blink
*/
int ledPin = 2;
// the setup function runs once when you press reset or power the board
void setup() {
// initialize digital pin LED_BUILTIN as an output.
pinMode(ledPin, OUTPUT);
}
// the loop function runs over and over again forever
void loop() {
digitalWrite(ledPin, HIGH); // turn the LED on (HIGH is the voltage level)
delay(1000); // wait for a second
digitalWrite(ledPin, LOW); // turn the LED off by making the voltage LOW
delay(1000); // wait for a second
}
피드 구독하기:
글 (Atom)
시르바이, 중동 최초 AI 자율 드론 군집 기술 공개…현대 전장의 판도 바꾼다
중동 최초의 AI 기반 자율 드론 군집 기술이 세상에 공개됐어요. 🚁 아부다비에서 열린 UMEX 2026 행사장, 시르바이(SIRBAI)라는 기업이 방위 산업의 새로운 장을 열었어요. 여러 대의 드론이 마치 한 몸처럼 움직이며 스스로 판단하고 협...
-
블랙박스 전문업체 지넷시스템이 1월 19일 신제품 'HANBL-U2'를 출시해요. 30년 역사를 자랑하는 이 회사가 한문철 변호사와 협업해 만든 블랙박스 시리즈의 최신작인데요. 출시 전부터 사전 예약 이벤트가 진행 중이라 벌써 관심이...
-
세종시가 디지털콘텐츠 산업의 새로운 거점 도시로 도약하기 위한 본격적인 움직임을 시작했어요. 지난 10월 16일, 세종지능정보원과 세종테크노파크가 '세종형 디지털콘텐츠 융합 얼라이언스'를 공식 발족했어요. 서울 변호사회관 빌딩에서 열...
-
2026년 4월, 미국 공공기관의 디지털 접근성 기준이 크게 달라져요. 미국 법무부가 2024년 4월에 최종 확정한 ADA 타이틀 II 규정에 따르면, 주 정부와 지방 정부가 운영하는 모든 디지털 서비스가 WCAG 2.1 AA 등급을 충족해야 해요...