This repository contains libraries and instructions for integrating them into your projects. In the parent folder, you’ll find two subfolders: zipped and unzipped. Both offer valid installation methods, but the "Zipped Method" is recommended for its simplicity and feedback on success. This guide provides detailed steps for both approaches, with a focus on the Arduino IDE. If you’re using a different editor, the process may vary slightly.
- Arduino IDE (or your preferred editor; names of options may differ).
- A project where you want to include the DigiSpark libraries.
- Basic familiarity with your editor’s interface.
- Navigate to the
zippedsubfolder in this repository. - Locate the
.zipfile of the library you want to include in your project. - In the Arduino IDE:
- Find the "Include Library" option (typically under
Sketch > Include Library).- Note: Do not confuse this with "Library Manager", which is a different feature.
- Click "Add .ZIP Library" from the dropdown menu.
- Find the "Include Library" option (typically under
- A file explorer window will open. Select the
.ziplibrary you want to include from thezippedfolder. - The IDE will extract and install the library. Check the Output Console (or the bottom-right corner of the Arduino IDE) for a success message.
- If not added automatically, include the library in your code by adding the following line at the top:
#include "Digi[LIBRARY].h"Replace[LIBRARY]with the specific library name (e.g.,DigiKeyboard). - Your project is now ready to use the library!
Note: The fully functional libraries might be now found under the "Library Manager" Tab. Refer to the Repository README for the latest information!
- Navigate to the
unzippedsubfolder in this your extraced zip file (The extracted Release you just downloaded). - Locate the library folder you want to include and copy it.
- Find your Arduino IDE’s library directory:
- On Windows, this is typically at:
C:\Users\[YourUsername]\Documents\Arduino\libraries. - On other systems, locate the
Arduinofolder in your Documents directory.
- On Windows, this is typically at:
- Paste the copied library folder into the
librariessubfolder. - Restart the Arduino IDE to ensure it recognizes the new library.
- Add the following line to the top of your code:
# include "Digi[LIBRARY].h"Replace[LIBRARY]with the specific library name. - Your project should now be set up to use the library.
Note: This method does not provide confirmation of successful installation, unlike the zipped method.
- Zipped Method: If no success message appears, ensure you selected the correct
.zipfile and that it’s not corrupted. - Unzipped Method: If the library isn’t recognized, verify the folder is in the correct
librariesdirectory and restart the IDE. - Still having issues? File an Issue Ticket or email me at david.cmrg@proton.me.
Contributions are welcome! Feel free to submit a pull request or suggest improvements via the Issues page.
For questions or support, reach out to me:
- Email: david.cmrg@proton.me
- GitHub: David-cmrg
I hope these libraries and instructions enhance your projects! Best regards.