public static Write ( ushort com, byte c ) : void | ||
com | ushort | |
c | byte | |
return | void |
public static void Log(string message) { if (!initialized) { Serial.SetupPort(Serial.COM1); } Serial.Write(Serial.COM1, message); Serial.Write(Serial.COM1, "\n"); }
private static void SendRawByte(byte b) { Serial.Write(com, b); }
private static void SendByte(int i) { Serial.Write(com, (byte)i); }