Tournament
Pilota
Tellurico ha scritto:Ore e ore di lavoro e solo di materiali e lavorazioni ormai sono sui 150 euro.
![]()
Ma magari ce caschi!
Follow along with the video below to see how to install our site as a web app on your home screen.
Nota: This feature may not be available in some browsers.

Stai cercando informazioni su di noi e sulle modalità di iscrizione alle nostre attività?
Leggi queste pagine :
Tellurico ha scritto:Ore e ore di lavoro e solo di materiali e lavorazioni ormai sono sui 150 euro.
![]()
using System;
using System.Net;
using System.Net.Sockets;
using System.Text;
public class UDPListener
{
private const int listenPort = 8124;
public static int Main()
{
bool done = false;
UdpClient listener = new UdpClient(listenPort);
IPEndPoint groupEP = new IPEndPoint(IPAddress.Any, listenPort);
string received_data;
byte[] receive_byte_array;
Console.WriteLine("UDP Listener for DCS Ready");
// Create PoKeys55 device object
PoKeysDevice_DLL.PoKeysDevice device = new PoKeysDevice_DLL.PoKeysDevice();
// Enumerate devices (this step must never be ommited!)
int iNumDevices = device.EnumerateDevices();
// Connect to first PoKeys55 device
device.ConnectToDevice(0);
try
{
while (!done)
{
receive_byte_array = listener.Receive(ref groupEP);
received_data = Encoding.ASCII.GetString(receive_byte_array, 0, receive_byte_array.Length);
string MCon = "1.0\n";
string MCoff = "0.0\n";
string RD = received_data;
if (RD.EndsWith(MCon))
{
device.SetPinData(34, 4);
}
if (RD.EndsWith(MCoff))
{
device.SetPinData(34, 0);
}
}
}
catch (Exception e)
{
Console.WriteLine(e.ToString());
}
listener.Close();
// Disconnect PoKeys55 device
device.DisconnectDevice();
return 0;
}
} // end of class UDPListener
Tellurico ha scritto:Veritas non penso che avrei il tempo per mettermi a rifarne uno da zero, più che altro per le saldature! Ore e ore di lavoro e solo di materiali e lavorazioni ormai sono sui 150 euro. Secondo me verrebbe una cosa fuori budget. Certo se avessi un po' di "ordini" potrei far stampare il circuito e a quel punto sarebbe tutto molto più veloce!