예제 #1
0
        protected void AddPoll(int delayInMilliseconds, byte i2cAddress, byte register, int numRegisters = 1, object data = null)
        {
            int pollID = I2CBus.AddPoll(delayInMilliseconds, i2cAddress, register, numRegisters, OnPollDataReceived, data);

            pollIDs.Add(pollID);
        }