Example #1
0
        public BikeCadenceSensor()
        {
            // ID and period as described in device profile
            DeviceType = 0x7A;
            ChannelPeriod = 8102;

            Processor = new BikeCadenceProcessor();
        }
        public BikeSpeedCadenceSensor(int wheelSize)
        {
            // ID and period as described in device profile
            DeviceType = 0x79;
            ChannelPeriod = 8086;

            SpeedProcessor = new BikeSpeedProcessor(wheelSize);
            CadenceProcessor = new BikeCadenceProcessor();
        }