Reviving old project

Hi everyone!
I am looking to revive my very old project, the control panel for playing Kerbal Space Program, ha. It has been a year since I did any work (changed power supply as the previous one somehow went bad while projected sitting in the box and when powered the psu blow up itself and took voltage stabilizer of lcd with it) and before that I did not do any work for about 4-5 years. Yes, that long project started in 2016 actually.
My question is, would you continue from where the project was left or would you kinda start over? Talking primarily about the software side as rewiring the whole thing is not something I wanna do. Looking into the program there are some of the things I have no idea how they work exactly and I would have to relearn my own code. On the other hand the code is quite long atm as there is whole Arduino <-> pc communication routine, lcd routine (touch 7” Lcd), game data decode and encode, hardware control. Most of the stuff is actually done, the various lcd menus and screens need to be done and control refined.
So what would you suggest, continue or step back and redo most stuff?
Many thanks

Starting over from scratch is an opportunity to apply what you learnt in version 1 to make a better/cleaner version 2. Also if you were a C++ beginner for v1, then you'll usually find that you can apply new coding skills for better code.

Of course it possibly means more work and if you forgot everything about version 1 then...

So I guess the questions are more

  • how much time are you willing to spend on your project?
  • did you fine tune the requirements over the previous versions that would make you consider a different code structure?
2 Likes

Great question
@J-M-L got the answer right !
Usually rewriting takes much less time, and the code will be tighter with new features.

1 Like

Hi, @Michelle090.
I'll join in too. I too would rather do it all over again than try to figure out something old even if I made it up myself.

1 Like

I have no doubt that I have more experience now and learned few trick since then. I see it when I review any older code and then thinking how weirdly is written. For simple projects that do one thing it do not matter much, but for more complex project it's very important.
The current code is based on example made by guy who developed the plugin for the game and I simply expand and build upon it. I think I can write completely new code except the serial communication shenanigans as I have still no idea what exactly I am looking at :laughing:
As for requirement adjustment, there is no radical change so far, but since then I moved in all projects to design and build hardware in modular way with future expansion in mind with code to support that and the code itself I like to write in seperate function blocks that care of one function and they share information if needed. Also these days I use comments o lot, even several sentences long which can help o lot :slightly_smiling_face:

Sounds like you have your answer then :slight_smile:

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.