예제 #1
0
/**
 * Constructor that specifies the digital module.
 * 
 * @param slot The slot in the chassis that the digital module is plugged into.
 * @param channel The PWM channel on the digital module that the Victor is attached to.
 */
Victor::Victor(UINT32 slot, UINT32 channel) : PWM(slot, channel)
{
	InitVictor();
}
예제 #2
0
/**
 * Constructor that assumes the default digital module.
 * 
 * @param channel The PWM channel on the digital module that the Victor is attached to.
 */
Victor::Victor(UINT32 channel) : PWM(channel)
{
	InitVictor();
}
예제 #3
0
/**
 * Constructor that assumes the default digital module.
 *
 * @param channel The PWM channel on the digital module that the Victor is attached to.
 */
Victor::Victor(uint32_t channel) : SafePWM(channel)
{
    InitVictor();
}
예제 #4
0
/**
 * Constructor that specifies the digital module.
 *
 * @param moduleNumber The digital module (1 or 2).
 * @param channel The PWM channel on the digital module that the Victor is attached to (1..10).
 */
Victor::Victor(uint8_t moduleNumber, uint32_t channel) : SafePWM(moduleNumber, channel)
{
    InitVictor();
}
예제 #5
0
파일: Victor.cpp 프로젝트: FRC2539/wpilib
/**
 * Constructor that specifies the digital module.
 * 
 * @param moduleNumber The digital module (1 or 2).
 * @param channel The PWM channel on the digital module that the Victor is attached to (1..10).
 */
Victor::Victor(UINT8 moduleNumber, UINT32 channel) : SafePWM(moduleNumber, channel)
{
	InitVictor();
}