Added while while(1) catch to num_brds error.
Added NUM_BRDS command