Descargar Imprimir esta página

Blackmagic Design Duplicator 4K Manual De Instalación Y Funcionamiento página 213

Ocultar thumbs Ver también para Duplicator 4K:

Publicidad

Idiomas disponibles
  • ES

Idiomas disponibles

  • ESPAÑOL, página 151
上面窗口内显示的代码还出现在下一页中, 便于您将其复制粘贴到您的Arduino IDE中。 为Arduino
编写的这段代码可命令Blackmagic Duplicator 4K记录一分钟, 然后停止记录并等待, 直到程序
再次运行。
/*
Telnet client Blackmagic Duplicator 4K Control Circuit: *
Ethernet shield attached to pins 10, 11, 12, 13
*/
#include <SPI.h>
#include <Ethernet.h>
// Enter a MAC address and IP address for your controller below.
// The IP address will be dependent on your local network:
byte mac[] = {0x90, 0xA2, 0xDA, 0x0F, 0x17, 0xEF};
byte ip[] = {192, 168, 28, 204};
Ethernet Shield
byte server[] = {192, 168, 28, 141};
EthernetClient client;
client a name
void setup()
{
Ethernet.begin(mac, ip);
client.connect(server, 9993);
}
void loop()
{
while (client.available())
{
char c = client.read();
}
client.print("record: name: Camera1 \x0a") ;
//Start Duplicator recording a clip named Camera 1
delay(60000);
client.print("stop\x0a");
while (1);
starts again
}
// IP address of
// IP address of Duplicator
// Give the ethernet
//Start the Ethernet connection:
//Connect to Duplicator on port 9993
//Read the Duplicator Preamble
//Wait a minute
//Stop recoding
//Do nothin
g until program
通过以太网远程控制
213

Publicidad

loading