Get the latest stable version of Code::Blocks plus AVR Toolchain which includes the AVR version of gpp,gcc,gdb,include and libraries and see if things work again.
That is amazing – that is exactly what I did a few weeks ago – go back to the Arduino after about a year and a half. I have all the stuff but having to remind myself of how to use it – hence I am on this channel …..again. I am actually looking forward to doing it all over again.
That's why I feel so lost! I bought hundreds of dollars worth of components, but I struggle to do anything that works. It is so frustrating! Since I didn't understand it before I'm truly lost now. There's no way I would have figured that you could rename all of those folders and they would just recreate themselves. I too used to do all kinds of programming back in the day, but that day was decades ago. I think I should just consider giving up. I'm getting no where. It's super frustrating when it comes to the ESP(families) of chips. I can never seem to find the board definition that will work with either the ESP8266 or the ESP32.
The way to solve the code breaking is to use dependency management, and you need to include both the arduino and other libraries you used. The Arduino IDE has something like that but it's global, and unless you plan to always use the same version of the same libraries in all your projects present and future, it's not a good solution.
The simplest form of this is having a git repository with git-submodules of each external bit of code your depends on. The best way of doing this is with dependency management software, aka package managers.
Some more professional environments allow this like PlatformIO (for Arduino and many others) with the lib_deps option, and mbed (for ARM) which does it by default. Saving your project references with a specific version or even commit from a library and you only upgrade if you want to. Also having the option to have a local copy of the files you depend without taking for granted that the repository (or even github itself or whatever) will exist in 5 years from now when you need that project again.
In your Postbag #66 you mention a viewer sent you a clever way to isolate the li ion chargers. You said you will address it in a future video. I haven't been able to find that video. What is the clever method?.
Welcome to Library Hell, Julian! Yeah, like in the good old DLL-Hell days, that's a major problem for longer term projects. I have several Arduino IDEs on USB Sticks, and I normally do a Version Freeze for all those programs, that may be needed in the future. The gets even worse when you're using non-Arduino MCUs like an ESP8266. On Arduino – newer isn't always better.
58 You still in your prime. Love your videos.
Very typical Arduino experience. Grin and bear it ๐
Get the latest stable version of Code::Blocks plus AVR Toolchain which includes the AVR version of gpp,gcc,gdb,include and libraries and see if things work again.
Julian, you crack me up. Love your videos. I've learned so much over the years. Please keep them coming.
I loved this whole video. I forgot how much I enjoyed you videos.
That is amazing – that is exactly what I did a few weeks ago – go back to the Arduino after about a year and a half. I have all the stuff but having to remind myself of how to use it – hence I am on this channel …..again. I am actually looking forward to doing it all over again.
Ok now make one that will fit in a model rocket.
Label it as; RH as in relative humidity!!!
Post bags! Post bags more post bags Julian! Weird gadgets, new eBay stuff. More, please more…
I spent two evenings and then this morning following this rabbit hole. your work is always great and I appreciate the work you put into this videos.
Have exactly the same issues with arduino myself, you're but a youngster, I'm 20 years older than you.
21c, Big Clive would have melted in such temperatures.
That's why I feel so lost! I bought hundreds of dollars worth of components, but I struggle to do anything that works. It is so frustrating! Since I didn't understand it before I'm truly lost now. There's no way I would have figured that you could rename all of those folders and they would just recreate themselves.
I too used to do all kinds of programming back in the day, but that day was decades ago. I think I should just consider giving up. I'm getting no where. It's super frustrating when it comes to the ESP(families) of chips. I can never seem to find the board definition that will work with either the ESP8266 or the ESP32.
The way to solve the code breaking is to use dependency management, and you need to include both the arduino and other libraries you used. The Arduino IDE has something like that but it's global, and unless you plan to always use the same version of the same libraries in all your projects present and future, it's not a good solution.
The simplest form of this is having a git repository with git-submodules of each external bit of code your depends on. The best way of doing this is with dependency management software, aka package managers.
Some more professional environments allow this like PlatformIO (for Arduino and many others) with the lib_deps option, and mbed (for ARM) which does it by default. Saving your project references with a specific version or even commit from a library and you only upgrade if you want to. Also having the option to have a local copy of the files you depend without taking for granted that the repository (or even github itself or whatever) will exist in 5 years from now when you need that project again.
Hey Julian,
In your Postbag #66 you mention a viewer sent you a clever way to isolate the li ion chargers. You said you will address it in a future video. I haven't been able to find that video. What is the clever method?.
Cheers!
Welcome to Library Hell, Julian!
Yeah, like in the good old DLL-Hell days, that's a major problem for longer term projects. I have several Arduino IDEs on USB Sticks, and I normally do a Version Freeze for all those programs, that may be needed in the future. The gets even worse when you're using non-Arduino MCUs like an ESP8266.
On Arduino – newer isn't always better.