Example #1
0
 public uint GetPwmParameter(byte channel, PwmParam param)
 {
     byte address = (byte)((channel << 2) + (byte)param);
     return GetMemory(address);
 }
Example #2
0
 public static uint GetPwmParameter(SPI spi, byte channel, PwmParam param)
 {
     byte address = (byte)((channel << 2) + param);
     return GetMemory(spi, address);
 }
Example #3
0
 public void SetPwmParameter(byte channel, PwmParam param, uint data)
 {
     byte address = (byte)((channel << 2) + (byte)param);
     SetMemory(address, data);
 }
Example #4
0
 public static void SetPwmParameter(SPI spi, byte channel, PwmParam param, uint data)
 {
     byte address = (byte)((channel << 2) + param);
     SetMemory(spi, address, data);
 }