Browse Source

fix readme

hnwangkg-ezio 6 years ago
parent
commit
b5d89670be
61 changed files with 1275 additions and 717 deletions
  1. 19 8
      1.54inch_e-paper_b_code/bcm2835/readme.txt
  2. 22 12
      1.54inch_e-paper_b_code/python2/readme.txt
  3. 22 12
      1.54inch_e-paper_b_code/python3/readme.txt
  4. 22 7
      1.54inch_e-paper_b_code/wiringpi/readme.txt
  5. 19 8
      1.54inch_e-paper_c_code/bcm2835/readme.txt
  6. 22 12
      1.54inch_e-paper_c_code/python2/readme.txt
  7. 22 12
      1.54inch_e-paper_c_code/python3/readme.txt
  8. 22 7
      1.54inch_e-paper_c_code/wiringpi/readme.txt
  9. 19 8
      1.54inch_e-paper_code/bcm2835/readme.txt
  10. 22 12
      1.54inch_e-paper_code/python2/readme.txt
  11. 22 12
      1.54inch_e-paper_code/python3/readme.txt
  12. 22 7
      1.54inch_e-paper_code/wiringpi/readme.txt
  13. 19 8
      2.13inch_e-paper_b&c_code/bcm2835/readme.txt
  14. 22 12
      2.13inch_e-paper_b&c_code/python2/readme.txt
  15. 22 12
      2.13inch_e-paper_b&c_code/python3/readme.txt
  16. 22 7
      2.13inch_e-paper_b&c_code/wiringpi/readme.txt
  17. 19 8
      2.13inch_e-paper_code/bcm2835/readme.txt
  18. 22 12
      2.13inch_e-paper_code/python2/readme.txt
  19. 22 12
      2.13inch_e-paper_code/python3/readme.txt
  20. 22 7
      2.13inch_e-paper_code/wiringpi/readme.txt
  21. 19 8
      2.7inch_e-paper_b_code/bcm2835/readme.txt
  22. 22 12
      2.7inch_e-paper_b_code/python2/readme.txt
  23. 22 12
      2.7inch_e-paper_b_code/python3/readme.txt
  24. 22 7
      2.7inch_e-paper_b_code/wiringpi/readme.txt
  25. 19 8
      2.7inch_e-paper_code/bcm2835/readme.txt
  26. 22 12
      2.7inch_e-paper_code/python2/readme.txt
  27. 22 12
      2.7inch_e-paper_code/python3/readme.txt
  28. 22 7
      2.7inch_e-paper_code/wiringpi/readme.txt
  29. 0 132
      2.9inch_e-paper_b
  30. 19 8
      2.9inch_e-paper_b&c_code/bcm2835/readme.txt
  31. 22 12
      2.9inch_e-paper_b&c_code/python2/readme.txt
  32. 22 12
      2.9inch_e-paper_b&c_code/python3/readme.txt
  33. 22 7
      2.9inch_e-paper_b&c_code/wiringpi/readme.txt
  34. 19 8
      2.9inch_e-paper_code/bcm2835/readme.txt
  35. 22 12
      2.9inch_e-paper_code/python2/readme.txt
  36. 22 12
      2.9inch_e-paper_code/python3/readme.txt
  37. 22 7
      2.9inch_e-paper_code/wiringpi/readme.txt
  38. 19 8
      4.2inch_e-paper_b&c_code/bcm2835/readme.txt
  39. 22 12
      4.2inch_e-paper_b&c_code/python2/readme.txt
  40. 22 12
      4.2inch_e-paper_b&c_code/python3/readme.txt
  41. 22 7
      4.2inch_e-paper_b&c_code/wiringpi/readme.txt
  42. 19 8
      4.2inch_e-paper_code/bcm2835/readme.txt
  43. 22 12
      4.2inch_e-paper_code/python2/readme.txt
  44. 22 12
      4.2inch_e-paper_code/python3/readme.txt
  45. 22 7
      4.2inch_e-paper_code/wiringpi/readme.txt
  46. 19 8
      5.83inch_e-paper_b&c_code/bcm2835/readme.txt
  47. 22 12
      5.83inch_e-paper_b&c_code/python2/readme.txt
  48. 22 12
      5.83inch_e-paper_b&c_code/python3/readme.txt
  49. 22 7
      5.83inch_e-paper_b&c_code/wiringpi/readme.txt
  50. 19 8
      5.83inch_e-paper_code/bcm2835/readme.txt
  51. 22 12
      5.83inch_e-paper_code/python2/readme.txt
  52. 22 12
      5.83inch_e-paper_code/python3/readme.txt
  53. 22 7
      5.83inch_e-paper_code/wiringpi/readme.txt
  54. 19 8
      7.5inch_e-paper_b&c_code/bcm2835/readme.txt
  55. 22 12
      7.5inch_e-paper_b&c_code/python2/readme.txt
  56. 22 12
      7.5inch_e-paper_b&c_code/python3/readme.txt
  57. 22 7
      7.5inch_e-paper_b&c_code/wiringpi/readme.txt
  58. 19 8
      7.5inch_e-paper_code/bcm2835/readme.txt
  59. 22 12
      7.5inch_e-paper_code/python2/readme.txt
  60. 22 12
      7.5inch_e-paper_code/python3/readme.txt
  61. 22 7
      7.5inch_e-paper_code/wiringpi/readme.txt

+ 19 - 8
1.54inch_e-paper_b_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
1.54inch_e-paper_b_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
1.54inch_e-paper_b_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
1.54inch_e-paper_b_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
1.54inch_e-paper_c_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
1.54inch_e-paper_c_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
1.54inch_e-paper_c_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
1.54inch_e-paper_c_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
1.54inch_e-paper_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
1.54inch_e-paper_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
1.54inch_e-paper_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
1.54inch_e-paper_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
2.13inch_e-paper_b&c_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
2.13inch_e-paper_b&c_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
2.13inch_e-paper_b&c_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
2.13inch_e-paper_b&c_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
2.13inch_e-paper_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
2.13inch_e-paper_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
2.13inch_e-paper_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
2.13inch_e-paper_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
2.7inch_e-paper_b_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
2.7inch_e-paper_b_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
2.7inch_e-paper_b_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
2.7inch_e-paper_b_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
2.7inch_e-paper_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
2.7inch_e-paper_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
2.7inch_e-paper_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
2.7inch_e-paper_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 0 - 132
2.9inch_e-paper_b

@@ -1,132 +0,0 @@
-/*****************************************************************************
-* | File      	:   GUI_BMPfile.c
-* | Author      :   Waveshare team
-* | Function    :   Hardware underlying interface
-* | Info        :
-*                Used to shield the underlying layers of each master
-*                and enhance portability
-*----------------
-* |	This version:   V2.1
-* | Date        :   2019-03-29
-* | Info        :   
-* 1.Change file name: GUI_BMP.c -> GUI_BMPfile.c
-* 2.fix: GUI_ReadBmp()
-*   Now Xstart and Xstart can control the position of the picture normally, 
-*   and support the display of images of any size. If it is larger than 
-*   the actual display range, it will not be displayed.
-* 3.fix:line87  &bmprgbquad[i * 4] =》 &bmprgbquad[i]
-*
-* Permission is hereby granted, free of charge, to any person obtaining a copy
-* of this software and associated documnetation files (the "Software"), to deal
-* in the Software without restriction, including without limitation the rights
-* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-* copies of the Software, and to permit persons to  whom the Software is
-* furished to do so, subject to the following conditions:
-*
-* The above copyright notice and this permission notice shall be included in
-* all copies or substantial portions of the Software.
-*
-* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-* FITNESS OR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-* LIABILITY WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-* THE SOFTWARE.
-*
-******************************************************************************/
-
-#include "GUI_BMPfile.h"
-#include "GUI_Paint.h"
-#include "Debug.h"
-
-#include <fcntl.h>
-#include <unistd.h>
-#include <stdint.h>
-#include <stdlib.h>	//exit()
-#include <string.h> //memset()
-#include <math.h> //memset()
-
-UBYTE GUI_ReadBmp(const char *path, UWORD Xstart, UWORD Ystart)
-{
-    FILE *fp;                     //Define a file pointer
-    BMPFILEHEADER bmpFileHeader;  //Define a bmp file header structure
-    BMPINFOHEADER bmpInfoHeader;  //Define a bmp info header structure
-    
-    
-    // Binary file open
-    if((fp = fopen(path, "rb")) == NULL) {
-        Debug("Cann't open the file!\n");
-        exit(0);
-    }
-
-    // Set the file pointer from the beginning
-    fseek(fp, 0, SEEK_SET);
-    fread(&bmpFileHeader, sizeof(BMPFILEHEADER), 1, fp);    //sizeof(BMPFILEHEADER) must be 14
-    fread(&bmpInfoHeader, sizeof(BMPINFOHEADER), 1, fp);    //sizeof(BMPFILEHEADER) must be 50
-    printf("pixel = %d * %d\r\n", bmpInfoHeader.biWidth, bmpInfoHeader.biHeight);
-    
-    UWORD Image_Width_Byte = (bmpInfoHeader.biWidth % 8 == 0)? (bmpInfoHeader.biWidth / 8): (bmpInfoHeader.biWidth / 8 + 1);
-    UWORD Bmp_Width_Byte = (Image_Width_Byte % 4 == 0) ? Image_Width_Byte: ((Image_Width_Byte / 4 + 1) * 4);    
-    UBYTE Image[Image_Width_Byte * bmpInfoHeader.biHeight];
-    memset(Image, 0xFF, Image_Width_Byte * bmpInfoHeader.biHeight);
-    
-    // Determine if it is a monochrome bitmap
-    int readbyte = bmpInfoHeader.biBitCount;
-    if(readbyte != 1){
-        Debug("the bmp Image is not a monochrome bitmap!\n");
-        exit(0);
-    }
-    
-    // Determine black and white based on the palette
-    UWORD i;
-    UWORD Bcolor, Wcolor;
-    UWORD bmprgbquadsize = pow(2, bmpInfoHeader.biBitCount);// 2^1 = 2
-    BMPRGBQUAD bmprgbquad[bmprgbquadsize];        //palette
-    
-    for(i = 0; i < bmprgbquadsize; i++){
-        // fread(&bmprgbquad[i * 4], sizeof(BMPRGBQUAD), 1, fp);
-        fread(&bmprgbquad[i], sizeof(BMPRGBQUAD), 1, fp);
-    }
-    if(bmprgbquad[0].rgbBlue == 0xff && bmprgbquad[0].rgbGreen == 0xff && bmprgbquad[0].rgbRed == 0xff){
-        Bcolor = BLACK;
-        Wcolor = WHITE;
-    }else{
-        Bcolor = WHITE;
-        Wcolor = BLACK;
-    }
-    
-    // Read image data into the cache
-    UWORD x, y;
-    UBYTE Rdata; 
-    fseek(fp, bmpFileHeader.bOffset, SEEK_SET);
-    for(y = 0; y < bmpInfoHeader.biHeight; y++) {//Total display column
-        for(x = 0; x < Bmp_Width_Byte; x++) {//Show a line in the line
-            if(fread((char *)&Rdata, 1, readbyte, fp) != readbyte) {
-                perror("get bmpdata:\r\n");
-                break;
-            }
-            if(x < Image_Width_Byte) { //bmp
-                Image[x + (bmpInfoHeader.biHeight - y - 1) * Image_Width_Byte] =  Rdata;
-                // printf("rdata = %d\r\n", Rdata);
-            }
-        }
-    }    
-    fclose(fp);
-    
-    // Refresh the image to the display buffer based on the displayed orientation
-    UBYTE color, temp;
-    for(y = 0; y < bmpInfoHeader.biHeight; y++){
-        for(x = 0; x < bmpInfoHeader.biWidth; x++){
-            if(x > Paint.Width || y > Paint.Height){
-                break;
-            }
-            temp = Image[(x / 8) + (y * Image_Width_Byte)];
-            color = (((temp << (x%8)) & 0x80) == 0x80) ?Bcolor:Wcolor;      
-            Paint_SetPixel(Xstart + x, Ystart + y, color);
-        }
-    }
-    return 0;
-}
-
-

+ 19 - 8
2.9inch_e-paper_b&c_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
2.9inch_e-paper_b&c_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
2.9inch_e-paper_b&c_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
2.9inch_e-paper_b&c_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
2.9inch_e-paper_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
2.9inch_e-paper_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
2.9inch_e-paper_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
2.9inch_e-paper_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
4.2inch_e-paper_b&c_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
4.2inch_e-paper_b&c_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
4.2inch_e-paper_b&c_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
4.2inch_e-paper_b&c_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
4.2inch_e-paper_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
4.2inch_e-paper_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
4.2inch_e-paper_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
4.2inch_e-paper_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
5.83inch_e-paper_b&c_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
5.83inch_e-paper_b&c_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
5.83inch_e-paper_b&c_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
5.83inch_e-paper_b&c_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
5.83inch_e-paper_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
5.83inch_e-paper_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
5.83inch_e-paper_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
5.83inch_e-paper_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
7.5inch_e-paper_b&c_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
7.5inch_e-paper_b&c_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
7.5inch_e-paper_b&c_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
7.5inch_e-paper_b&c_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 19 - 8
7.5inch_e-paper_code/bcm2835/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,24 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
-       make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
+        make
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG
+    
+    5, run the demo with: 
        sudo ./epd
   */
 

+ 22 - 12
7.5inch_e-paper_code/python2/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 12
7.5inch_e-paper_code/python3/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,17 +66,27 @@
   * D/C    ->    22 (Physical, BCM: 25)
   * RES    ->    11 (Physical, BCM: 17)
   * BUSY   ->    18 (Physical, BCM: 24)
-
-  == How to use ==
-  1, install the Python libraries.
-  sudo apt-get install python-pip 
-  sudo pip install RPi.GPIO
-  sudo pip install spidev
-  sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
   
-  2, change the current directory to where the demo files located.
-  3, run the demo with: 
-     python main.py
+    == How to use ==
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+        
+    2, install the Python libraries.
+        sudo apt-get install python-pip 
+        sudo pip install RPi.GPIO
+        sudo pip install spidev
+        sudo apt-get install ttf-wqy-zenhei ttf-wqy-microhei
+
+    3, change the current directory to where the demo files located.
 
-  */
+    4, run the demo with: 
+        sudo python main.py
+    # if use python3:
+        sudo python3 main.py
+*/
 

+ 22 - 7
7.5inch_e-paper_code/wiringpi/readme.txt

@@ -1,7 +1,7 @@
 /******************************************************************************
  * File Name          : readme.txt
  * Description        : Readme file
- * Date               : July-28-2017
+ * Date               : 2019-04-08
  ******************************************************************************
  *
  * Copyright (c) 2017 Waveshare
@@ -66,13 +66,28 @@
   * BUSY   ->    18 (Physical, BCM: 24)
 
   == How to use ==
-  1, install the C libraries of bcm2835, see: http://www.airspayce.com/mikem/bcm2835/
-  2, change the current directory to where the Makefile and demo files located.
-  3, compile the file with: 
+    1, open spidev.
+        spi is enabled in config.txt:
+        dtparam=spi=on
+    or in shell:
+        sudo raspi-config
+            - 5 Interfacing Options  Configure connections to peripherals
+                - 5 Interfacing Options  Configure connections to peripherals
+    
+    2, install the C libraries:
+        sudo apt-get install git
+        sudo git clone git://git.drogon.net/wiringPi
+        cd wiringPi
+        sudo ./build
+    
+    3, change the current directory to where the Makefile and demo files located.
+    
+    4, compile the file with: 
        make
-     If you need to see the debug information, clear the execution:
-     make DEBUG=-DDEBUG
-  4, run the demo with: 
+    # If you need to see the debug information, clear the execution:
+        make DEBUG=-DDEBUG    
+    
+    5, run the demo with: 
        sudo ./epd
   */