浏览代码

Added license info

Thomas Buck 8 年前
父节点
当前提交
d62aac1f70
共有 7 个文件被更改,包括 98 次插入1 次删除
  1. 15
    0
      ESP-Weather.ino
  2. 13
    1
      README.md
  3. 14
    0
      config.h
  4. 14
    0
      ntp.cpp
  5. 14
    0
      ntp.h
  6. 14
    0
      storage.cpp
  7. 14
    0
      storage.h

+ 15
- 0
ESP-Weather.ino 查看文件

@@ -1,3 +1,18 @@
1
+/*
2
+ * ESP-Weather.ino
3
+ *
4
+ * This is the main program for our distributed temperature and humidity logger
5
+ * with WiFi interface, based on the ESP8266 ESP-01 module and an SHT21 sensor.
6
+ *
7
+ * ----------------------------------------------------------------------------
8
+ * "THE BEER-WARE LICENSE" (Revision 42):
9
+ * <xythobuz@xythobuz.de> & <ghost-ghost@web.de> wrote this file.  As long as
10
+ * you retain this notice you can do whatever you want with this stuff. If we
11
+ * meet some day, and you think this stuff is worth it, you can buy us a beer
12
+ * in return.                                   Thomas Buck & Christian Högerle
13
+ * ----------------------------------------------------------------------------
14
+ */
15
+
1 16
 #include <ESP8266WiFi.h>
2 17
 #include <WiFiClient.h>
3 18
 #include <ESP8266WebServer.h>

+ 13
- 1
README.md 查看文件

@@ -14,9 +14,21 @@ Download and install the following libraries to your `Arduino/libraries` folder.
14 14
 
15 15
 ### JavaScript
16 16
 
17
-The JavaScript client code includes the following libraries:
17
+The JavaScript client code includes the following libraries, using their official CDNs:
18 18
 
19 19
 * [Bootstrap](http://getbootstrap.com/)
20 20
 * [jQuery](https://jquery.com/)
21 21
 * [Chart.js](https://github.com/chartjs/Chart.js)
22 22
 
23
+The client script from this repository is served using the [RawGit Service](https://rawgit.com) development URLs. Consider using their production CDN when using this project seriously.
24
+
25
+## License
26
+
27
+    ----------------------------------------------------------------------------
28
+    "THE BEER-WARE LICENSE" (Revision 42):
29
+    <xythobuz@xythobuz.de> & <ghost-ghost@web.de> wrote this file.  As long as
30
+    you retain this notice you can do whatever you want with this stuff. If we
31
+    meet some day, and you think this stuff is worth it, you can buy us a beer
32
+    in return.                                   Thomas Buck & Christian Högerle
33
+    ----------------------------------------------------------------------------
34
+

+ 14
- 0
config.h 查看文件

@@ -1,3 +1,17 @@
1
+/*
2
+ * config.h
3
+ *
4
+ * Configuration options for ESP-Weather.
5
+ *
6
+ * ----------------------------------------------------------------------------
7
+ * "THE BEER-WARE LICENSE" (Revision 42):
8
+ * <xythobuz@xythobuz.de> & <ghost-ghost@web.de> wrote this file.  As long as
9
+ * you retain this notice you can do whatever you want with this stuff. If we
10
+ * meet some day, and you think this stuff is worth it, you can buy us a beer
11
+ * in return.                                   Thomas Buck & Christian Högerle
12
+ * ----------------------------------------------------------------------------
13
+ */
14
+
1 15
 #ifndef __CONFIG_H__
2 16
 #define __CONFIG_H__
3 17
 

+ 14
- 0
ntp.cpp 查看文件

@@ -1,3 +1,17 @@
1
+/*
2
+ * ntp.cpp
3
+ *
4
+ * Simple NTP implementation to aquire the current time matched to the systick.
5
+ *
6
+ * ----------------------------------------------------------------------------
7
+ * "THE BEER-WARE LICENSE" (Revision 42):
8
+ * <xythobuz@xythobuz.de> & <ghost-ghost@web.de> wrote this file.  As long as
9
+ * you retain this notice you can do whatever you want with this stuff. If we
10
+ * meet some day, and you think this stuff is worth it, you can buy us a beer
11
+ * in return.                                   Thomas Buck & Christian Högerle
12
+ * ----------------------------------------------------------------------------
13
+ */
14
+
1 15
 #include <Arduino.h>
2 16
 #include <ESP8266WiFi.h>
3 17
 #include <WiFiUdp.h>

+ 14
- 0
ntp.h 查看文件

@@ -1,3 +1,17 @@
1
+/*
2
+ * ntp.h
3
+ *
4
+ * Simple NTP implementation to aquire the current time matched to the systick.
5
+ *
6
+ * ----------------------------------------------------------------------------
7
+ * "THE BEER-WARE LICENSE" (Revision 42):
8
+ * <xythobuz@xythobuz.de> & <ghost-ghost@web.de> wrote this file.  As long as
9
+ * you retain this notice you can do whatever you want with this stuff. If we
10
+ * meet some day, and you think this stuff is worth it, you can buy us a beer
11
+ * in return.                                   Thomas Buck & Christian Högerle
12
+ * ----------------------------------------------------------------------------
13
+ */
14
+
1 15
 #ifndef __NTP_H__
2 16
 #define __NTP_H__
3 17
 

+ 14
- 0
storage.cpp 查看文件

@@ -1,3 +1,17 @@
1
+/*
2
+ * storage.cpp
3
+ *
4
+ * EEPROM data history storage.
5
+ *
6
+ * ----------------------------------------------------------------------------
7
+ * "THE BEER-WARE LICENSE" (Revision 42):
8
+ * <xythobuz@xythobuz.de> & <ghost-ghost@web.de> wrote this file.  As long as
9
+ * you retain this notice you can do whatever you want with this stuff. If we
10
+ * meet some day, and you think this stuff is worth it, you can buy us a beer
11
+ * in return.                                   Thomas Buck & Christian Högerle
12
+ * ----------------------------------------------------------------------------
13
+ */
14
+
1 15
 #include <Arduino.h>
2 16
 #include <EEPROM.h>
3 17
 #include "storage.h"

+ 14
- 0
storage.h 查看文件

@@ -1,3 +1,17 @@
1
+/*
2
+ * storage.h
3
+ *
4
+ * EEPROM data history storage.
5
+ *
6
+ * ----------------------------------------------------------------------------
7
+ * "THE BEER-WARE LICENSE" (Revision 42):
8
+ * <xythobuz@xythobuz.de> & <ghost-ghost@web.de> wrote this file.  As long as
9
+ * you retain this notice you can do whatever you want with this stuff. If we
10
+ * meet some day, and you think this stuff is worth it, you can buy us a beer
11
+ * in return.                                   Thomas Buck & Christian Högerle
12
+ * ----------------------------------------------------------------------------
13
+ */
14
+
1 15
 #ifndef __STORAGE_H__
2 16
 #define __STORAGE_H__
3 17
 

正在加载...
取消
保存