Yes, assuming you were able to deduct the entire amount of the interest paid, the HELOC didn't have any closing costs or additional fees and the terms of the vehicle purchase were the same for both options, you would probably be better off with the HELOC.
The calculator at http://www.bankrate.com/calculators/mortgages/loan-tax-deduction-calculator.aspx
indicates that the effective rate with the 2.75% HELOC would be 2.063% (after taking into account the mortgage interest deduction) which is less than the 2.28% for the car loan.
However, there are some other variables to consider:
Any closing costs or fees for the HELOC would probably make the car loan a better choice. Most lenders don't charge any closing costs for HELOCs but some do. Of course, this is not an issue if you already have the HELOC.
The car loan will be better if you don't have enough deductions to itemize and have to take the standard deduction.
Mortgage interest is not deductible under all circumstances. see http://www.irs.gov/publications/p936/ar02.html
The law could change so that mortgage interest is no longer deductible. This is very unlikely to happen (it has been proposed as a federal deficit reduction measure but is strongly opposed by powerful interest groups) but it is a risk.
If your financial circumstances changed and you were unable to make the loan payments, you would risk losing your house if the loan was a HELOC while you would only risk losing your car if it was a car loan.
A HELOC usually takes longer to process and fund than a car loan. For example, in Texas there are legally required waiting periods which mean a minimum of 17 calendar days must pass between the HELOC application date and the funding date. In contrast, a car loan can often be approved and funded the same day.