summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--couch_light/.gitignore4
-rw-r--r--couch_light/lib/readme.txt36
-rw-r--r--couch_light/platformio.ini26
l---------couch_light/src/couch_light.ino1
-rw-r--r--oliver/lr_stripes/.gitignore4
-rw-r--r--oliver/lr_stripes/lib/readme.txt36
-rw-r--r--oliver/lr_stripes/platformio.ini21
l---------oliver/lr_stripes/src/lr_stripes.ino1
9 files changed, 130 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 7129b63..ecda0bb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
1aes_key.h 1aes_key.h
2secrets.h
diff --git a/couch_light/.gitignore b/couch_light/.gitignore
new file mode 100644
index 0000000..e05273b
--- /dev/null
+++ b/couch_light/.gitignore
@@ -0,0 +1,4 @@
1.pioenvs
2.clang_complete
3.gcc-flags.json
4.piolibdeps \ No newline at end of file
diff --git a/couch_light/lib/readme.txt b/couch_light/lib/readme.txt
new file mode 100644
index 0000000..3f9e008
--- /dev/null
+++ b/couch_light/lib/readme.txt
@@ -0,0 +1,36 @@
1
2This directory is intended for the project specific (private) libraries.
3PlatformIO will compile them to static libraries and link to executable file.
4
5The source code of each library should be placed in separate directory, like
6"lib/private_lib/[here are source files]".
7
8For example, see how can be organized `Foo` and `Bar` libraries:
9
10|--lib
11| |--Bar
12| | |--docs
13| | |--examples
14| | |--src
15| | |- Bar.c
16| | |- Bar.h
17| |--Foo
18| | |- Foo.c
19| | |- Foo.h
20| |- readme.txt --> THIS FILE
21|- platformio.ini
22|--src
23 |- main.c
24
25Then in `src/main.c` you should use:
26
27#include <Foo.h>
28#include <Bar.h>
29
30// rest H/C/CPP code
31
32PlatformIO will find your libraries automatically, configure preprocessor's
33include paths and build them.
34
35More information about PlatformIO Library Dependency Finder
36- http://docs.platformio.org/en/stable/librarymanager/ldf.html
diff --git a/couch_light/platformio.ini b/couch_light/platformio.ini
new file mode 100644
index 0000000..6e0f132
--- /dev/null
+++ b/couch_light/platformio.ini
@@ -0,0 +1,26 @@
1; PlatformIO Project Configuration File
2;
3; Build options: build flags, source filter, extra scripting
4; Upload options: custom port, speed and extra flags
5; Library options: dependencies, extra library storages
6;
7; Please visit documentation for the other options and examples
8; http://docs.platformio.org/en/stable/projectconf.html
9
10[platformio]
11env_default = pro8MHzatmega328
12
13[env:miniatmega328]
14platform=atmelavr
15board=miniatmega328
16framework=arduino
17
18[env:pro8MHzatmega328]
19platform=atmelavr
20board=pro8MHzatmega328
21framework=arduino
22; minicore/optirun uses 38400 for 8MHz
23upload_speed=38400
24
25[platformio]
26lib_dir=/home/manuel/coding/Arduino/libraries
diff --git a/couch_light/src/couch_light.ino b/couch_light/src/couch_light.ino
new file mode 120000
index 0000000..230ba97
--- /dev/null
+++ b/couch_light/src/couch_light.ino
@@ -0,0 +1 @@
../couch_light.ino \ No newline at end of file
diff --git a/oliver/lr_stripes/.gitignore b/oliver/lr_stripes/.gitignore
new file mode 100644
index 0000000..5dac9f5
--- /dev/null
+++ b/oliver/lr_stripes/.gitignore
@@ -0,0 +1,4 @@
1.pioenvs
2.piolibdeps
3.clang_complete
4.gcc-flags.json
diff --git a/oliver/lr_stripes/lib/readme.txt b/oliver/lr_stripes/lib/readme.txt
new file mode 100644
index 0000000..dbadc3d
--- /dev/null
+++ b/oliver/lr_stripes/lib/readme.txt
@@ -0,0 +1,36 @@
1
2This directory is intended for the project specific (private) libraries.
3PlatformIO will compile them to static libraries and link to executable file.
4
5The source code of each library should be placed in separate directory, like
6"lib/private_lib/[here are source files]".
7
8For example, see how can be organized `Foo` and `Bar` libraries:
9
10|--lib
11| |--Bar
12| | |--docs
13| | |--examples
14| | |--src
15| | |- Bar.c
16| | |- Bar.h
17| |--Foo
18| | |- Foo.c
19| | |- Foo.h
20| |- readme.txt --> THIS FILE
21|- platformio.ini
22|--src
23 |- main.c
24
25Then in `src/main.c` you should use:
26
27#include <Foo.h>
28#include <Bar.h>
29
30// rest H/C/CPP code
31
32PlatformIO will find your libraries automatically, configure preprocessor's
33include paths and build them.
34
35More information about PlatformIO Library Dependency Finder
36- http://docs.platformio.org/page/librarymanager/ldf.html
diff --git a/oliver/lr_stripes/platformio.ini b/oliver/lr_stripes/platformio.ini
new file mode 100644
index 0000000..0f31fed
--- /dev/null
+++ b/oliver/lr_stripes/platformio.ini
@@ -0,0 +1,21 @@
1; PlatformIO Project Configuration File
2;
3; Build options: build flags, source filter, extra scripting
4; Upload options: custom port, speed and extra flags
5; Library options: dependencies, extra library storages
6;
7; Please visit documentation for the other options and examples
8; http://docs.platformio.org/en/stable/projectconf.html
9
10[platformio]
11env_default = nodemcuv2
12
13[env:nodemcuv2]
14platform = espressif8266
15board = nodemcuv2
16framework = arduino
17;upload_flags = --port=8266 --auth=ESP8266_PASSWORD
18;upload_port = IP (Set fixed IP in your router first!!!)
19
20[platformio]
21lib_dir=/home/manuel/coding/Arduino/libraries
diff --git a/oliver/lr_stripes/src/lr_stripes.ino b/oliver/lr_stripes/src/lr_stripes.ino
new file mode 120000
index 0000000..a8026eb
--- /dev/null
+++ b/oliver/lr_stripes/src/lr_stripes.ino
@@ -0,0 +1 @@
../lr_stripes.ino \ No newline at end of file