标签:second 图片 wait 技术 mic fine 硬件 mod alt
设置触发信号,固定时间触发相机采集
硬件
arduino uno板子

软件
搜索安装 arduino


#define pinled 13 //出发引脚13号引脚
#define delaytime 1000//每多少毫秒触发一次
void setup()
{
pinMode(pinled, OUTPUT);
}
void loop() {
digitalWrite(LED_BUILTIN, HIGH); // turn the LED on (HIGH is the voltage level)
delay(delaytime/2); // wait for a second
digitalWrite(LED_BUILTIN, LOW); // turn the LED off by making the voltage LOW
delay(delaytime/2); // wait for a second
}
标签:second 图片 wait 技术 mic fine 硬件 mod alt
原文地址:https://www.cnblogs.com/kekeoutlook/p/11823750.html