Hi and thanks for the prompt reply.
Any conviction on this charge, whether you were driving under the influence of marijuana or not at the time of the stop, will result in a 6 month suspension of your driver's license. But it appears that you have not been charged for anything but possession. And because you consented to the search, it would also appear that the search was proper and would hold up against Constitutional scrutiny if you wanted to take this case to trial.
The maxiimum penalty here is a year of jail, but on a first arrest of this sort, for someone who possessed in personal use amount, jail is usually not a real concern. There are special programs, in fact, which would not only keep you out of jail but could allow you to walk away from this case without a criminal conviction on your record. Typically, that would consist of a period of supervision whereby you stay out of further trouble with the law, refrain from further illicit drug use, perform community service and pay fines. At the end of your supervisory period, the case would be dismissed.
Although you'd be eligible for something like that, it's hte prosecutor's call as to whether to allow you to get that kind of a deal or not. It may have to be negotiated for you. This meass that if you can retain a lawyer, you should have him or her with you when you appear in court to protect your rights, help you make informed decisions, and if you want an offer from the state, to get you the most favorable one available. If you cannot afford one, then you can go to court without one, plead not guilty to the charge to keep all of your rights open, and then ask the judge to appoint you a public defender, who can advise you and take the case from there.