Hi, my name is XXXXX XXXXX I'm a Honda expert here at JustAnswer.com. I'd be glad to help you with your question.
Do you know what the code was?
no, i didn't write it down, but the mechanic said it was the vtec not turning on because of not enough oil, but i was only a 1/2 qt low
A 1/2 quart could actually cause the VTEC solenoid not to work so he could be right.
If the code is the same this time around you may have a clogged VTEC solenoid screen. You'll have to remove the VTEC solenoid off the side of the cylinder head and check that screen and clean it if need be. The screen sometimes gets debris in it and it causes the same code you would get if the oil level was low.
As long as the check engine light isn't flashing I wouldn't worry about it that much