示例#1
0
 public static float Read(ref Max44009Device sensor)
 {
     CheckError("Read", max44009_read(ref sensor, out var result));
     return(result);
 }
示例#2
0
 public static void Reset(ref Max44009Device sensor) => CheckError("Reset", max44009_reset(ref sensor));
示例#3
0
#pragma warning restore IDE1006 // Naming Styles

        public static void Create(ref Max44009Device sensor, string device, int address) =>
        CheckError("Create", max44009_create(ref sensor, device, address));
示例#4
0
 public static extern int8_t max44009_read(ref Max44009Device sensor, out float luminance);
示例#5
0
 public static extern int8_t max44009_reset(ref Max44009Device sensor);
示例#6
0
 public static extern int max44009_create(ref Max44009Device sensor, string device, int address);