I have been working locally on a Sketch that includes code from this library GitHub - abratchik/HIDPowerDevice: This project allows to use Arduino Leonardo or Arduino Pro Micro as an intelligent UPS controller., so I have that library in my local environment. How can I take this existing project and migrate it to a Cloud Sketch?
Hi @kellybyrd. All the libraries of the Arduino Library Manager are preinstalled in Arduino Cloud. However, the author of this specific library never submitted it for inclusion in Library Manager so it is necessary to import the library to Arduino Cloud in order to be able to use it in sketches when you are compiling them via Arduino Web Editor or Arduino IoT Cloud.
I'll provide instructions you can follow to import the library:
- Click the following link to open the library's GitHub repository homepage in your web browser:
https://github.com/abratchik/HIDPowerDevice - Click the "<> Code ▾" button you see on that page.
- Select Download ZIP from the menu.
A download of the ZIP file of the library will start. - Wait for the download to finish.
- If it is not already open, select "Libraries" from the menu on the left side of the "Arduino Web Editor" window to open the Libraries panel.
- Click the upward pointing arrow button ("Import") to the right side of the "Library Manager" button.
- If you get a popup about importing your sketchbook, click the "Import" button.
A dialog will open that allows you to select a file on your computer to import to your Arduino Cloud account. - Select the
HIDPowerDevice-master.zipfile that was downloaded to your computer by the previous step. - Click the "Open" button.
- Wait for Arduino Web Editor to display the notification that the library was successfully imported.
- Click the "OK" button.
Please let me know if you have any questions or problems while following those instructions.
This worked, thanks! I also needed to upload my sketchbook that uses this library, but I figured out how to do that by following a similar method from what you suggested for the library.
You are welcome. I'm glad it is working now. Thanks for taking the time to post an update!
Regards,
Per
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.