public RequestEventArgs(Request command, Socket connection, NetDuinoUtils.Utils.HelperClass.ReturnType returntype) { Command = command.ReqEndPoint; Connection = connection; Connection.SendTimeout = 5000; ReturnType = returntype; }
public static void Main() { LcdWriter.Instance.Write("ready!"); Thread.Sleep(500); // write your code here motorControl = new ServoControl(Pins.GPIO_PIN_D9); ButtonUtils.OnBoardButtonPushed(SpinMotor); NetDuinoUtils.KeepRunning(); }
public static void Main() { // var idReader = new Id12Reader(SerialPorts.COM2, Pins.GPIO_PIN_D4); // idReader.RfidEvent += IDReaderRfidEvent; // idReader.Start(); InitWifi(); NetDuinoUtils.KeepRunning(); }
public static void Main() { LcdWriter.Instance.Write("ready!"); WebServerWrapper.InitializeWebEndPoints(new ArrayList { new BasicPage(), new CameraControl() }); WebServerWrapper.StartWebServer(); NetDuinoUtils.KeepRunning(); }
public Request(EndPoint ep, NetDuinoUtils.Utils.HelperClass.ReturnType rt) { ReqEndPoint = ep; ReqReturnType = rt; }