Beispiel #1
0
 public void SetPwmParameter(byte channel, PwmParameter parameter, uint data)
 {
     byte address = (byte)((channel << 2) + (byte)parameter);
     SetMemory(address, data);
 }
Beispiel #2
0
 public uint GetPwmParameter(byte channel, PwmParameter parameter)
 {
     byte address = (byte)((channel << 2) + (byte)parameter);
     return GetMemory(address);
 }