public void InitHardware() { Console.WriteLine("Initialize..."); sensor = new Adxl337(Device, Device.Pins.A01, Device.Pins.A02, Device.Pins.A03, 500); sensor.AccelerationChanged += Sensor_AccelerationChanged; }
public void InitHardware() { Console.WriteLine("Initialize..."); sensor = new Adxl337(Device, Device.Pins.A00, Device.Pins.A01, Device.Pins.A02); sensor.Updated += Sensor_Updated; sensor.StartUpdating(500); }