Exemplo n.º 1
0
        public DeadOnRTCData ReadData()
        {
            byte[] writeBuffer = new byte[] { 0 };
            byte[] readBuffer  = new byte[0x14];

            _spi.WriteRead(writeBuffer, readBuffer);
            DeadOnRTCData data = new DeadOnRTCData(readBuffer);

            return(data);
        }
Exemplo n.º 2
0
        public DeadOnRTCData ReadData()
        {
            byte[] writeBuffer = new byte[] { 0 };
            byte[] readBuffer = new byte[0x14];

            _spi.WriteRead(writeBuffer, readBuffer);
            DeadOnRTCData data = new DeadOnRTCData(readBuffer);
            return data;
        }