示例#1
0
        public MWAccelrometer(MWBoard board)
        {
            if (board == null)
                throw new InvalidOperationException("Cannot construct Accelrometer without MWBoard");

            Board = board;
        }
示例#2
0
        public MWAccelrometer(MWBoard board)
        {
            if (board == null)
            {
                throw new InvalidOperationException("Cannot construct Accelrometer without MWBoard");
            }

            Board = board;
        }
示例#3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Mma8452qAccelerometer"/> class.
 /// This is the accelerometer in the MetaWear R board.
 /// </summary>
 /// <param name="board">The board.</param>
 public Mma8452qAccelerometer(MWBoard board) : base(board)
 {
 }