1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace Wit.SDK.Modular.Sensor.Utils
- {
-
-
-
- public class WT925Helper
- {
-
-
-
-
- public static byte[] Unlock()
- {
- return WitProtocolUtils.GetWrite(0x69, 0xB588);
- }
-
-
-
-
- public static byte[] AccelerationCalibration()
- {
- return WitProtocolUtils.GetWrite(0x01, 0x01);
- }
-
-
-
-
- public static byte[] BeginFieldCalibration()
- {
- return WitProtocolUtils.GetWrite(0x01, 0x07);
- }
-
-
-
-
- public static byte[] EndFieldCalibration()
- {
- return WitProtocolUtils.GetWrite(0x01, 0x00);
- }
-
-
-
-
- public static byte[] SetBaudRate(ushort value)
- {
- return WitProtocolUtils.GetWrite(0x04, value);
- }
-
-
-
-
-
- public static byte[] SetBackContent(ushort value)
- {
- return WitProtocolUtils.GetWrite(0x02, value);
- }
-
-
-
- }
- }
|