Skip to content
This repository was archived by the owner on Dec 23, 2021. It is now read-only.

changed package import name from cpx to cp #173

Merged
merged 2 commits into from
Jan 22, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/adafruit_circuitplayground/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# added compatibility for new import structure in CircuitPython
# https://github.com/adafruit/Adafruit_CircuitPython_CircuitPlayground/pull/79

from .express import cpx as cp
2 changes: 1 addition & 1 deletion src/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"""

# import CPX library
from adafruit_circuitplayground.express import cpx
from adafruit_circuitplayground import cp

while True:
# start your code here
Expand Down