Beispiel #1
0
        protected override void ExecuteInternal(TeensyBatDevice device)
        {
            int totalSeconds = (int)Math.Round((DateTime.UtcNow - EpochStart).TotalSeconds);

            totalSeconds = totalSeconds + 1;
            device.Send(string.Format(CultureInfo.InvariantCulture, "CT{0}\n", totalSeconds));
        }
 protected override void ExecuteInternal(TeensyBatDevice device)
 {
     device.Send("CP\n");
 }