Descargar Imprimir esta página

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

Ocultar thumbs Ver también para Duplicator 4K:

Publicidad

Idiomas disponibles
  • ES

Idiomas disponibles

  • ESPAÑOL, página 151
The code shown in the window above is also presented on the next page so you can copy and
paste it into your Arduino IDE. The code programs the Arduino to instruct Blackmagic Duplicator
4K to record for 1 minute, then stop recording and wait until the program runs again.
/*
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
Remote Control via Ethernet
27

Publicidad

loading