示例#1
0
    def getAccumulatorValue(self):
        """Read the accumulated value.

        Read the value that has been accumulating. The accumulator
        is attached after the oversample and average engine.

        :returns: The 64-bit value accumulated since the last call to :func:`resetAccumulator`.
        """
        return hal.getAccumulatorValue(self.port) + self.accumulatorOffset
示例#2
0
    def getAccumulatorValue(self):
        """Read the accumulated value.

        Read the value that has been accumulating. The accumulator
        is attached after the oversample and average engine.

        :returns: The 64-bit value accumulated since the last :func:`reset`.
        """
        return hal.getAccumulatorValue(self.port) + self.accumulatorOffset