"Cheated" on final project and in the midst of getting caught
So I was working on a semester long project the spring. Everything was done correctly and legitimately up until the last week. In that last week we just had to take a few days worth of data and show it to the professor.
Right at the start of the final week, I dropped my project and it completely broke. I explained to my professor the situation and he said that if I don't fix it and get the data that he will have to fail me. I wasn't able to order the parts and have it fixed until the night before everything was due. This obviously wasn't enough time for me to get any real data so I just made it up as best as I could that night.
He seemed to think everything was good at first, but has now emailed me and is questioning me a lot on my raw data.
I know it was wrong to have cheated, but it is my last class I need to graduate and I got scared I would fail. I just feel lost right now.
edit: I had a meeting with the professor today. He immediately explained that he knew the data was fake, and I told him that was why I wanted to talk to him.
I explained the situation again and told the full truth. I mentioned how I worked on it, it broke and I just got anxious and made a stupid mistake. We talked for an hour about it and he was understanding of everything that happened, and he was happy that I was honest with him. He gave me the chance to finish remaking it and test it by the end of next week. (currently grind my butt off to get this done and graduate)