resources/libtiny/Servo.cpp
//=============================================================================
// FUNCTION:    void initServoArray()
//
// DESCRIPTION: Sets default values to each element of the servoRegistry array
//
// INPUT:       Nothing
//
// RETURNS:     Nothing
//
//=============================================================================
void initServoArray()
DESCRIPTION: Sets default values to each element of the servoRegistry array

Nothing

Nothing
void initServoArray () DESCRIPTION : Sets default values to each element of the servoRegistry array Nothing Nothing
void ServoSequencer::initServoArray()
{
    for(uint8_t i = 0; i < MAX_SERVOS; ++i)
    {
        servoRegistry[i].pulseLengthInTicks = 128;
        servoRegistry[i].pin = 0;
        servoRegistry[i].enabled = false;
        servoRegistry[i].slotOccupied = false;
    }
    servoArrayIsInited = true;
}
void ServoSequencer :: initServoArray ( ) { for ( uint8_t i = 0 ; i < MAX_SERVOS ; ++ i ) { servoRegistry [ i ] . pulseLengthInTicks = 128 ; servoRegistry [ i ] . pin = 0 ; servoRegistry [ i ] . enabled = false ; servoRegistry [ i ] . slotOccupied = false ; } servoArrayIsInited = true ; }
FUNCTION:    void initServoArray()
DESCRIPTION: Sets default values to each element of the servoRegistry array
FUNCTION : void initServoArray () DESCRIPTION : Sets default values to each element of the servoRegistry array
//init the Servo Registry array