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)
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.
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?
Did you follow the right steps?
I’ve tried it, and it worked.
Follow the next instructions step by step.
- 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?
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