• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Add ZIP libraries to Visual Studio Code

Q&A Forum › Category: ESP8266 › Add ZIP libraries to Visual Studio Code
0 Vote Up Vote Down
Eric Roest asked 4 years ago

I found on the internet an example to get the right time including the summertime. But the program uses timezone.h and timelib.h which you can download from the internet also.
Is it possible add these ZIP libraries to Visual Studio Code? or is there an other way to get the right time (summer/wintertime)

Question Tags: zip library
5 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi Eric.
I’ve found this discussion that shows how to install a library via .ZIP library: https://community.platformio.org/t/how-integrate-external-personal-zip-libraries/17407/2
See “maxgerhardt” answer.
I hope this helps.
Regards,
Sara

0 Vote Up Vote Down
Eric Roest answered 4 years ago

I read in the link that you need to install libraries with “pio lib install <name and location lib>” but either windows nor ubuntu knows the command pio in the terminal?

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
Did you follow the right steps?
I’ve tried it, and it worked.
Follow the next instructions step by step.

  1. Open CLI in your VS Code.


2. Write the command to install the library. Below I show an example for SSD1306, replace with your library path.

Does it work?
Regards,
Sara

0 Vote Up Vote Down
Eric Roest answered 4 years ago

Yes it does work now.
I missed “Open a PlatformIO CLI”, i have never heard about that, i thought they used a terminal.
Many thanks Sara

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Great!
I’ll close this issue. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.