Thanks for the feedback. I made the video to import whole projects, but VSC has changed and the video needs a remake. I have a couple of other short videos to make first. Subscribe and click on the bell so you don't miss them.
Hi Keld, importing a full Arduino project is a bit more tricky. You have to ensure you gather all the dependencies in the right place. I may do a video about it later.
Respectfully, but everybody shows you how to blink an LED. My problem is using vs code platformIO to upload a full an existing ***.ino , one with many sub files. say a project downloaded from the net?
Should be straight forward. Paste the .ino code into main.cpp as shown in the video. Copy the provided .h header files provided (and any others) into the 'includes' folder. Ensure your code knows where the other files are. Any libraries required may be installed by 'PIO Home' -> 'Libraries'. If you are still stuck, point me to the project and I will take a look. I hope that helps.
@@richardlangner Sorry, it isn't as easy as you mention. It's a lot of work to migrate a complex project based on multiple ino-files: You have to extract "public" function headers/declarations into new header files, protect these headers from being included multiple times, include these new header-files where the functions are used, then you have to extract shared global variables and write a header file to declare them as external etc.
Exactly what I was looking for, thank you! you mentioned at the end of the video that you would show us how to import entire projects into PlatformIO. I haven't done a deep search into your channel yet, but usually what happens is the RUclips algorithm will show that video, usually, as the top of the list of suggested videos. But I'm not seeing it. Just mentioning that in case there's a way on your end to help users find it - maybe some sort of keywords placed in the meta of the video to help find it.... All said, thank you for this video! Great help!
Thanks Richard. Simple post but exactly what I needed after way too much time searching.
Thank you! Excellent advice and much appreciated!
Thanks for the feedback. I made the video to import whole projects, but VSC has changed and the video needs a remake. I have a couple of other short videos to make first. Subscribe and click on the bell so you don't miss them.
Very cool!!!
Nice little series of videos - thx a lot !
Can you give a link to import whole Arduino projects - please ?
Hi Keld, importing a full Arduino project is a bit more tricky. You have to ensure you gather all the dependencies in the right place. I may do a video about it later.
@@richardlangner OK - I thought you said so in the video - TGX anyway !
Respectfully, but everybody shows you how to blink an LED. My problem is using vs code platformIO to upload a full an existing ***.ino , one with many sub files. say a project downloaded from the net?
Should be straight forward. Paste the .ino code into main.cpp as shown in the video. Copy the provided .h header files provided (and any others) into the 'includes' folder. Ensure your code knows where the other files are. Any libraries required may be installed by 'PIO Home' -> 'Libraries'. If you are still stuck, point me to the project and I will take a look. I hope that helps.
@@richardlangner Sorry, it isn't as easy as you mention. It's a lot of work to migrate a complex project based on multiple ino-files: You have to extract "public" function headers/declarations into new header files, protect these headers from being included multiple times, include these new header-files where the functions are used, then you have to extract shared global variables and write a header file to declare them as external etc.
Exactly what I was looking for, thank you!
you mentioned at the end of the video that you would show us how to import entire projects into PlatformIO.
I haven't done a deep search into your channel yet, but usually what happens is the RUclips algorithm will show that video, usually, as the top of the list of suggested videos. But I'm not seeing it.
Just mentioning that in case there's a way on your end to help users find it - maybe some sort of keywords placed in the meta of the video to help find it....
All said, thank you for this video! Great help!