well its against the law to smoke so I'm going to guess that they havent made laws for it like they have for drinking and driving (I'm assuming you live in the US , sorry if I'm wrong). I would avoid driving while you're high and since you're a new driver you might want to wait a few hours after you feel it wear off just to be safe.