public void Print(char C, int SegNumber)
        {
            char Address   = SegAddressArray[SegNumber];
            char Character = (char)Mapping(C);

            InputOutputDriver.Write(Address, Character);
        }
Пример #2
0
        public double readADC()
        {
            InputOutputDriver.Write((char)6, Utility.BinaryToChar("00000001"));
            System.Threading.Thread.Sleep(50);
            InputOutputDriver.Write((char)6, Utility.BinaryToChar("00000000"));
            System.Threading.Thread.Sleep(50);
            char digital = InData();

            digital &= Utility.BinaryToChar("00011111");
            return(calcVolt(digital));
        }
 public void TurnSpeakerOn()
 {
     InputOutputDriver.Write((char)0, (char)1);
 }