Thank you for using Just Answer. I am a licensed attorney and former prosecutor (4 years). I will be happy to assist you with your question.
The second degree burglary statute in South Carolina is found in Section 16-11-312 of the South Carolina Code of Laws. Here is the text of that law:
SECTION 16-11-312. Burglary; second degree.
(A) A person is guilty of burglary in the second degree if the person enters a dwelling without consent and with intent to commit a crime therein.
(B) A person is guilty of burglary in the second degree if the person enters a building without consent and with intent to commit a crime therein, and either:
(1) When, in effecting entry or while in the building or in immediate flight therefrom, he or another participant in the crime:
(a) Is armed with a deadly weapon or explosive; or
(b) Causes physical injury to any person who is not a participant in the crime; or
(c) Uses or threatens the use of a dangerous instrument; or
(d) Displays what is or appears to be a knife, pistol, revolver, rifle, shotgun, machine gun, or other firearm; or
(2) The burglary is committed by a person with a prior record of two or more convictions for burglary or housebreaking or a combination of both; or
(3) The entering or remaining occurs in the nighttime.
(C) Burglary in the second degree is a felony punishable by imprisonment for not more than fifteen years, provided, that no person convicted of burglary in the second degree shall be eligible for parole except upon service of not less than one-third of the term of the sentence.
Section (C) of this statute provides that anyone convicted of second degree burglary must serve at least 1/3 of his/her jail time before becoming eligible for parole. If you have an attorney and he/she is successful in getting your charge reduced to a lesser offense, you may be eligible for probation or home confinement. Whether you remain charged with second degree burglary or your attorney can get you a reduced charge, you will be credited for your 2.5 weeks that you served in the county jail. I think it is doubtful that you will receive either probation or home confinement if your charge of second degree burglary stands, however, due to the seriousness of the offense under South Carolina law. It is possible, however, that your attorney can file a motion to suppress evidence in your case, which may effectively "gut" your case so that the prosecutor will be willing or even forced to dismiss the charges altogether.
An accessory to a crime is typically subject to the same punishment as the principal felon in the case, with the exception that in South Carolina, some accessories after the fact (i.e., someone who gives assistance to the principal felon after the crime has been committed, such as a person who hides the felon from the police) are punished based upon the classification that is below the punishment provided for the principal felon (it sounds as though you were an accessory before the fact, however, so this likely isn't applicable).
Here is the text of the statutes for the punishment of accessories to a crime:
SECTION 16-1-40 Accessory [SC ST SEC 16-1-40]
A person who aids in the commission of a felony or is an accessory before the fact in the commission of a felony by counseling, hiring, or otherwise procuring the felony to be committed is guilty of a felony and, upon conviction, must be punished in the manner prescribed for the punishment of the principal felon.
SECTION 16-1-50. Indictment and conviction of accessories. [SC ST SEC 16-1-50]
A person who counsels, hires, or otherwise procures a felony to be committed may be indicted and convicted:
(1) as an accessory before the fact either with the principal felon or after his conviction; or
(2) of a substantive felony, whether the principal felon has or has not been convicted or is or is not amenable to justice, and may be punished as if convicted of being an accessory before the fact.
SECTION 16-1-55. Classification of accessory crimes. [SC ST SEC 16-1-55]
A person who commits the offense of accessory after the fact must be punished based upon the classification below the punishment provided for the principal offense, except for Class A, Class B, and Class C felonies or murder. If the principal offense is a Class A, Class B, or Class C felony or murder, the penalty must be as prescribed for a Class D felony.
With regard to your question about public defenders, there are good and bad ones, just as there are good and bad private attorneys. However, the vast majority of the public defenders I worked with (or, I should say, against) while I was a prosecutor are very good attorneys who have a thorough knowledge of criminal law. Since they devote all of their time to handling criminal cases, they are familiar with the judges, the prosecutors, and the rest of the court system, and because of their familiarity, they can be quite adept at getting a charge either dismissed or reduced. In all honesty, I would trust a public defender to handle my case if I were in your shoes.
I hope this helps. Good luck.