Example #1
0
        public void driver_update_group_config(byte group_num, ushort slow_time, byte enable_index, byte row_activate_index,
                                               byte row_enable_select, bool matrixed, bool polarity, bool active, bool disable_strobe_after)
        {
            lock (procSyncObject)
            {
                DriverGroupConfig group = new DriverGroupConfig();
                group.GroupNum           = group_num;
                group.SlowTime           = slow_time;
                group.EnableIndex        = enable_index;
                group.RowActivateIndex   = row_activate_index;
                group.RowEnableSelect    = row_enable_select;
                group.Matrixed           = matrixed;
                group.Polarity           = polarity;
                group.Active             = active;
                group.DisableStrobeAfter = disable_strobe_after;

                PinProc.PRDriverUpdateGroupConfig(ProcHandle, ref group);
            }
        }
Example #2
0
 public static extern Result PRDriverUpdateGroupConfig(IntPtr handle, ref DriverGroupConfig driverGroupConfig);
Example #3
0
 public static extern Result PRDriverGetGroupConfig(IntPtr handle, byte groupNum, ref DriverGroupConfig driverGroupConfig);