add required pio library

master
Peter Babič 3 years ago
parent a1d1953ec4
commit 838fac7108
Signed by: peter.babic
GPG Key ID: 4BB075BC1884BA40
  1. 5
      .gitignore
  2. 7
      .vscode/extensions.json
  3. 1
      platformio.ini
  4. 4
      src/main.cpp

5
.gitignore vendored

@ -0,0 +1,5 @@
.pio
.vscode/.browse.c_cpp.db*
.vscode/c_cpp_properties.json
.vscode/launch.json
.vscode/ipch

@ -0,0 +1,7 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"platformio.platformio-ide"
]
}

@ -12,3 +12,4 @@
platform = atmelavr
board = sparkfun_promicro8
framework = arduino
lib_deps = makuna/RTC@^2.3.5

@ -13,9 +13,9 @@
SoftwareWire myWire(SDA, SCL);
RtcDS1307<SoftwareWire> Rtc(myWire);
/* for software wire use above */
for software wire use above
/* for normal hardware wire use below */
for normal hardware wire use below */
#include <Wire.h> // must be included here so that Arduino library object file references work
#include <RtcDS3231.h>
#include <EepromAT24C32.h>

Loading…
Cancel
Save