I waited for hours but the program didn’t continue running.
the board I used is the Arduino nano 33 ble sense
the default framework is arduino
Someone said I should change to the Agents library, cause download the modules from the default library in China is extremely slow but I don’ t know how . Do anyone know what cause the problem and how to solve it?
This is good, showing it worked. All packages are there, there’s just no code.
You can use PIO Home and the “Open Project” button to just open the project at C:\Users\james\ble_test now. Then you must add a file in src\main.cpp and fill it with some code, e.g.
If building fails, please post an error message. There might be corrupted downloaded packages, in which case they should be removed from C:\Users\james\.platformio\packages\<package> to force a redownload.
thanks a lot ! it works !!!
I opened this project and add a new file named "mian.cpp " with the code .Then I built the program and upload the file to my arduino.
If in doubt, make sure that the only installed VSCode extension are PlatformIO (v.2.2.1) and C/C++ by Microsoft (v1.1.3). You may also try to temporarily disable your antivirus software.
A full PlatformIO re-install can be done by first removing the VSCode extension, closing VSCode, then removing the folder C:\Users\<user>\.platformio, and installing the VSCode extension again.
hello, it will sound trivial, but for real, the thing that helped me was just let it be and do not do anything else on computer. Before I thought that problem is with my slow computer, so i was using time until the new project is created to do something else but the initialization couldnt get finished. So i just started a new project and didnt do anything else and like a magic, it only took few minutes.