/** * Set the PWM value directly to the hardware. * * Write a raw value to a PWM channel. * * @param slot The slot the digital module is plugged into * @param channel The PWM channel connected to this speed controller * @param value Raw PWM value. Range 0 - 255. */ void SetJaguarRaw(UINT32 slot, UINT32 channel, UINT8 value) { Jaguar *jaguar = (Jaguar *) AllocatePWM(slot, channel, CreateJaguarStatic); if (jaguar) jaguar->SetRaw(value); }
/** * Set the PWM value directly to the hardware. * * Write a raw value to a PWM channel. * * @param channel The PWM channel connected to this speed controller * @param value Raw PWM value. Range 0 - 255. */ void SetJaguarRaw(UINT32 channel, UINT8 value) { Jaguar *jaguar = (Jaguar *) AllocatePWM(SensorBase::GetDefaultDigitalModule(), channel, CreateJaguarStatic); if (jaguar) jaguar->SetRaw(value); }