Forráskód Böngészése

add copyright notice for BSD license

devsaurus 5 éve
szülő
commit
44120d4157
1 módosított fájl, 32 hozzáadás és 0 törlés
  1. 32 0
      docs/en/modules/u8g2.md

+ 32 - 0
docs/en/modules/u8g2.md

@@ -5,6 +5,38 @@
 
 U8g2 is a graphics library developed at [olikraus/u8g2](https://github.com/olikraus/u8g2) with support for many different displays. It is the successor of [U8glib](https://github.com/olikraus/u8glib) which is not developed any further. Please see [How to port U8g code](https://github.com/olikraus/u8g2/wiki/u8gvsu8g2) for generic porting instructions.
 
+!!! note "BSD License for U8g2lib Code"
+    Universal 8bit Graphics Library (http://code.google.com/p/u8g2/)
+
+    Copyright (c) 2016, olikraus@gmail.com
+
+    All rights reserved.
+
+    Redistribution and use in source and binary forms, with or without modification,
+    are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright notice, this list 
+      of conditions and the following disclaimer.
+
+    * Redistributions in binary form must reproduce the above copyright notice, this 
+      list of conditions and the following disclaimer in the documentation and/or other 
+      materials provided with the distribution.
+
+
+        THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 
+        CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 
+        INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
+        MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 
+        DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 
+        CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
+        SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 
+        NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 
+        LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
+        CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
+        STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 
+        ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
+        ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
 The NodeMCU firmware supports the following displays in I²C and SPI mode:
 
 - ld7032 60x32