Context: You may call me picky, but I like to read source code. And if I know that I have the source code, but I can reach it, I can’t code in happy mode.
So, I’m back to Azure IoT and while I was browsing the Project Catalog for my DevKit device. I hold myself in the [Get Started – Connect IoT DevKit AZ3166 to Azure IoT Hub] section thanks to this warning.
Don’t get me wrong, once you installed Visual Studio Code, Arduino and the complete set of dependencies; you can build and deploy everything. However, I need my peek definition and the following error is a stopper for me
Error: Visual studio code include file not found in browse.path
The main problem is that the C++ extension can’t found any of the Azure IoT files. So, we need to add the path to VSCode settings. Lucky for us, the tip bulb will directly guide us to this option
We only need to add this path to the C++ settings. Of course, check your Arduino version and your username
And that’s it! Peek definition and more is available now
Greetings @ Burlington
- IoT DevKit, Project Catalog https://microsoft.github.io/azure-iot-developer-kit/docs/projects/
- Connect IoT DevKit AZ3166 to Azure IoT Hub https://docs.microsoft.com/en-us/azure/iot-hub/iot-hub-arduino-iot-devkit-az3166-get-started