Skip to main content

Using ChatGPT to code an Arduino project using C cuz idk anything bout C

So recently my school had the most brilliant idea to conduct a trade fair and the idea was so revolutionary that I had no reason to not be a part of it (This is sarcasm btw). So here I am.

My school's labs were tasked with the extremely easy job of making a stall of their own and selling stuff. My lab, the AI and Robotics lab decided to do an arcade instead (YAYYYYYYYYY)

But, what was not so good was the fact that I willingly decided to sacrifice myself for the better cause and decided to make a game of my own that all the idiots that come can play. It wasn't very supercalifragilisticexpialidocious, to say the least.

First I had to buy all the useful parts for the project which was a reaction time game and that was sadly not the hardest part.

The second thing I had to do was make the project sample on a breadboard and that was probably the easiest thing I have ever done in my 0.001 years of Arduino life.

And the third and hardest thing to do was assembling the whole thing on a cardboard. That was the worst thing that I had ever created out of cardboard and I wonder to this second why I painted it like the abomination it was.

And the fourth and most disastrous thing was presenting this thing and trying to get money. And guess what, I COULDN'T EVEN PRESENT IT.

Turns out, one of my pins to the led of the project was loose and I couldn't find which one it was even though I did everything I could to try to find it. Later, I came to the realization that this thing had somehow died on me at the worst possible second. 

And the next worst thing that happened was my LCD started speaking gibberish and I had to do some shenanigans to try to make it say something that would be considered English.

AND as you probably deduced while reading the title, I used ChatGPT to code the whole thing and provide me the wiring. Combined with the fact that there was no Wi-Fi at the event, I COULDN'T EVEN TROUBLESHOOT IT WITH THE HELP OF MY TRUSTED FRIEND.

In the end, there I was, sulking at the fact that I couldn't even make this thing work. And as any normal person would do, I tried to redeem myself.

So I opened IntelliJ and started SWEATING like it was the end of the world and wrote the most rushed up Java program ever and just started hoping that someone would come here and just say:



And by some huge amount of luck I made a bunch of 10 yr olds come and pay to play a goofy-ahh math game that I made in 30 minutes which had a bunch of errors in the game.

Anyways I uploaded the original source code for the arduino project in Github so check it out!

SOOOOOOOOOO PUBLISH BUTTON WEEEEEEEEEEEEEEEEEEEEEEEEEEEEE










Comments

  1. The legend has finally posted 🫡, but author have you ever noticed THAT YOU HAVE KEPT YOUR COMMENT SECTION DISABLED??? and you blame us readers for not interacting 😶

    ReplyDelete
    Replies
    1. As thou may not know, tis Author; unaware of the capabilities of the platform he writes in, doesn't know how the extremely wonderful comment section of the blog works, and might have done some nonsense and disabled it by mere chance.

      Delete

Post a Comment

Comment on my blog!!! But at the same time if u put a scam or sm random message remember i actually moderate the comments so u might get reported...

Popular posts from this blog

School buses... (Part 2) + other school shenanigans and me chatting with ChatGPT about pneumonoultramicroscopicsilicovolcanoconiosis

 I never thought that I would get a chance to write a part 2 on something that is already crazy. But here I am, wondering how in the world I even got here. So if you read my previous blog about my school bus, you would realize already how messed up my school van is. So basically, it became even more messed up than it already was, and I didn't even realize it cuz that really feels normal lol. So whenever I think of making a blog, I always think of part 2 stuff bcz that's literally the easiest thing I can do rn. So easiest part 2 ever for me. Now our school bus (VAN TECHNICALLY) is kinda mid when ur thinking about it (the suspension is totally messed up) and the students in it are even more messed up. I already mentioned about good boi and bad boi in part 1 but now we have part 2 and I have changed my mind. Good boi is now boi bad (lol that's the only thing I could think of) bcz of various particular reasons. 1. He has TOO many complaints on him for him to be a good boi. 2. H...

School Shenanigans

  So there's one thing that you would know about my school if you ever went to any of their celebrations. The celebrations are either too over-prepared for or too under-prepared for. So every year (we didn't get it last year for eLeCtIoN tRaInInG like I feel like already 50% of the votes are rigged so why bother) our school has a school day and the school day is like in 3 days. But I don't care cuz I'm a non-participant 😎. (Getting back on track with using emojis) And this school day is TOO over-prepared. It's just as over-prepared as almost every single NEET topper. So this is how our timetable evolved: 1. The normal timetable (9 periods) but every period is 30 mins instead of 35 mins. After that you have the practice. 2. The same thing but the last period is cut off.   After that you have the practice. 3. 5 Periods each for 40 minutes.   After that you have the practice. 4. 1 Period for 1 hour.   After that you have the practice. And this practice had been going ...

Summer vacation shenanigans... again

(Yes im writing this thing again cuz im outta ideas again.) I wrote a draft blog about my exams but then i forgot to continue it so no exam blog i guess. Also im using a weird font cuz im feeling like it alr no arguments allowed. So summer vacation just started and there's nothing much interesting to do except suffer from a program that i wrote about an eternity ago. (yes, its still ongoing) The top things to do in summer vacation (as per my experience): 1. Watch TV 2. Play on my laptop 3. Throw a tennis ball all around the place because there's no one for me to play with. 4. The foosball table when my sister finally comes to play. 5. Study (worst thing ever) Now ik this list is pretty boring but what in the world can I even do? Also my friends created a friend group of sorts and the only word I ever typed in there was "why" cuz I was bored and I wanted them to play among us or smthn bcz no one saved my name but the group owner knew that I was the imposter so the fun ...