From 7fd312bbaba3da2c390327bc4042b252b512b83c Mon Sep 17 00:00:00 2001 From: caternuson Date: Fri, 4 Jan 2019 08:45:09 -0800 Subject: [PATCH] add banner text for PIL requirement --- examples/bonnet_buttons.py | 4 ++++ examples/pillow_animate.py | 4 ++++ examples/pillow_images.py | 4 ++++ examples/pillow_shapes.py | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/examples/bonnet_buttons.py b/examples/bonnet_buttons.py index f5a07c7..539afd1 100644 --- a/examples/bonnet_buttons.py +++ b/examples/bonnet_buttons.py @@ -19,6 +19,10 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +# This example is for use on (Linux) computers that are using CPython with +# Adafruit Blinka to support CircuitPython libraries. CircuitPython does +# not support PIL/pillow (python imaging library)! + import board import busio from digitalio import DigitalInOut, Direction, Pull diff --git a/examples/pillow_animate.py b/examples/pillow_animate.py index fd2f039..70aa923 100644 --- a/examples/pillow_animate.py +++ b/examples/pillow_animate.py @@ -19,6 +19,10 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +# This example is for use on (Linux) computers that are using CPython with +# Adafruit Blinka to support CircuitPython libraries. CircuitPython does +# not support PIL/pillow (python imaging library)! + import math import time from board import SCL, SDA diff --git a/examples/pillow_images.py b/examples/pillow_images.py index f72cb80..4251593 100644 --- a/examples/pillow_images.py +++ b/examples/pillow_images.py @@ -19,6 +19,10 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +# This example is for use on (Linux) computers that are using CPython with +# Adafruit Blinka to support CircuitPython libraries. CircuitPython does +# not support PIL/pillow (python imaging library)! + from board import SCL, SDA import busio from PIL import Image diff --git a/examples/pillow_shapes.py b/examples/pillow_shapes.py index b3e5713..7ab2f17 100644 --- a/examples/pillow_shapes.py +++ b/examples/pillow_shapes.py @@ -19,6 +19,10 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. +# This example is for use on (Linux) computers that are using CPython with +# Adafruit Blinka to support CircuitPython libraries. CircuitPython does +# not support PIL/pillow (python imaging library)! + from board import SCL, SDA import busio from PIL import Image, ImageDraw, ImageFont