Newbie question here. I have library source files (wit_C_sdk.c, wit_C_sdk.h, and REG.h) downloaded from a device vendor (a serial compass/accelerometer). Using the Desktop IDE, I followed the instructions, added the library .zip file with the library manager, and use it. My sketches find, compile and link the libraries. All good.
Is the same functionality available using the online IDE? What needs to happen so that the online IDE finds, compiles and uses my library .c and .h sources?
Click the following link to open the list of your Arduino Cloud sketches in the web browser: https://app.arduino.cc/sketches
Click on any sketch, or use the CREATE > New sketch button to create a new sketch.
The sketch will open in Arduino Cloud Editor.
Click the icon that looks like shelved books ("Libraries") in the bar on the left side of the Cloud Editor page.
The "Libraries" panel will open.
Click the upward pointing arrow icon at the top of the "Libraries" panel.
The "Open" dialog will open.
Select the "ZIP" file of the library in the dialog.
Click the "Open" button.
The "Open" dialog will close.
You will now see an indicator at the top of the "Libraries" panel in place of the upward pointing arrow icon as the library is imported. Wait for this indicator to disappear.
You can now use the library you imported in your Arduino Cloud sketches.
ⓘ If you later decide you want to remove the imported library from your Arduino Cloud account, you will find it under the "Custom" tab of the "Libraries" panel.
If you have any problems or questions while following those instructions, just let me know and I'll provide further assistance.
You are welcome. I'm glad if I was able to be of assistance.
I suspected you might run into the problem of Arduino Cloud requiring imported libraries to have a library.properties metadata file, but since I didn't know for sure whether or not your library already had one I decided to wait to see if it would import for you. Great work on figuring out how to add the missing metadata file on your own!