I wrote this post firmly convinced that I am supposed to use the PLATFORMIO VSCode extension, as the development tool for this exercise. Only a few hour later, after writing this article under the false impression that the PLATFORMIO VSCode extension UI changed a lot since this documentation was written, instead of grasping that Blues document wants me to use the note-arduino library as the project setup tool. I am too “green” to start the discussion about development tools, so my message here is to post a clear warning about using multiple tools and why
The purpose of a shared live presentation like this TinyML workshop is to dramatically enhance the Blues tools adoption - as there are more moving parts than almost anywhere else, covering the span from the cloud of sensors, all the way up to the cloud of web applications. It is very important to prevent the confusion like this one I am documenting here.
This button ought to be “owned” by VSCode and it is not present in my case. Most likely the above screenshot was taken using the older version of the PLATFORMIO VSCode extension - here is what I see using the current version 3.1.1.:
I do not need to point out the minute details of this UI change - it seems rather obvious.
Section Configure your Notecard item 4 suggests
Create a new sketch and select the Sketch > Include Library > Contributed Libraries > Blues Wireless Notecard menu option.
I could not find any information on how to
create a new sketch using the current IDE.
Note that the nearly identical section Creating a PlatformIO Project for Swan, does not use the term “sketch” - it rather uses the Arduino Wizard to create the minimal C++ project skeleton including the
src/main.cpp file (sketch in the terminology of this project creation.