public bool GetCharacter() { char x, Mask; num = InputOutputDriver.Read((char)5); Mask = Utility.BinaryToChar("00010000"); x = (char)(num & Mask); return(x == Mask); }
public char GetNumber() { char x, Mask; do { num = InputOutputDriver.Read((char)5); Mask = Utility.BinaryToChar("00010000"); x = (char)(num & Mask); } while (x != Mask); while ((InputOutputDriver.Read((char)5) & Mask) != 0) { } ; Mask = Utility.BinaryToChar("00001111"); num = (char)(num & Mask); return(mapping(num)); }
private char InData() { return(InputOutputDriver.Read((char)3)); }
char InData() { return(InputOutputDriver.Read((char)4)); }