
    while (1)                      // Start the Basic 100ms scan loop
    {
        if (F_ScanMain)
        {
            F_ScanMain = 0;  // Reset the looping flag which is set in interrupt.
                :
                : 
                :
        }               // F_ScanMain closing brace.
    }                      // while(1) closing brace 
