Skip to content

Commit

Permalink
Change module name
Browse files Browse the repository at this point in the history
Change all references from adafruit_raspberry_pi5_piomatter to
adafruit_blinka_raspberry_pi5_piomatter.

Closes #20
  • Loading branch information
jepler committed Feb 13, 2025
1 parent 985d72c commit 60ae202
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion docs/adafruit_raspberry_pi5_piomatter.rst
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.. automodule:: adafruit_raspberry_pi5_piomatter
.. automodule:: adafruit_blinka_raspberry_pi5_piomatter
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ Contents:
.. toctree::
:maxdepth: 2

adafruit_raspberry_pi5_piomatter
adafruit_blinka_raspberry_pi5_piomatter
2 changes: 1 addition & 1 deletion examples/fbmirror.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"""


import adafruit_raspberry_pi5_piomatter as piomatter
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
import click
import numpy as np
import piomatter_click
Expand Down
2 changes: 1 addition & 1 deletion examples/fbmirror_scaled.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
`... video=HDMI-A-1:640x480M@60D`.
"""

import adafruit_raspberry_pi5_piomatter as piomatter
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
import click
import numpy as np
import PIL.Image as Image
Expand Down
2 changes: 1 addition & 1 deletion examples/piomatter_click.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from collections.abc import Callable
from typing import Any

import adafruit_raspberry_pi5_piomatter as piomatter
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
import click


Expand Down
2 changes: 1 addition & 1 deletion examples/play_gif.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import time

import adafruit_raspberry_pi5_piomatter as piomatter
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
import numpy as np
import PIL.Image as Image

Expand Down
2 changes: 1 addition & 1 deletion examples/playframes.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import sys
import time

import adafruit_raspberry_pi5_piomatter as piomatter
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
import numpy as np
import PIL.Image as Image

Expand Down
2 changes: 1 addition & 1 deletion examples/quote_scroller.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"""

import adafruit_raspberry_pi5_piomatter as piomatter
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
import numpy as np
import requests
from PIL import Image, ImageDraw, ImageFont
Expand Down
2 changes: 1 addition & 1 deletion examples/rainbow_spiral.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
$ python rainbow_spiral.py
"""
import adafruit_raspberry_pi5_piomatter as piomatter
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
import numpy as np
import rainbowio
from PIL import Image, ImageDraw
Expand Down
2 changes: 1 addition & 1 deletion examples/simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import pathlib

import adafruit_raspberry_pi5_piomatter as piomatter
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
import numpy as np
import PIL.Image as Image

Expand Down
2 changes: 1 addition & 1 deletion examples/simpletest_addre_bgr.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import pathlib

import adafruit_raspberry_pi5_piomatter as piomatter
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
import numpy as np
import PIL.Image as Image

Expand Down
2 changes: 1 addition & 1 deletion examples/single_panel_simpletest.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"""

import adafruit_raspberry_pi5_piomatter as piomatter
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
import numpy as np
from PIL import Image, ImageDraw

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
# say from a submodule.

ext_modules = [
Pybind11Extension("adafruit_raspberry_pi5_piomatter",
Pybind11Extension("adafruit_blinka_raspberry_pi5_piomatter",
["src/pymain.cpp", "src/piolib/piolib.c", "src/piolib/pio_rp1.c"],
define_macros = [('VERSION_INFO', __version__)],
include_dirs = ['./src/include', './src/piolib/include'],
Expand Down
4 changes: 2 additions & 2 deletions src/pymain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ make_piomatter(Colorspace c, Pinout p, py::buffer buffer,
}
} // namespace

PYBIND11_MODULE(adafruit_raspberry_pi5_piomatter, m) {
PYBIND11_MODULE(adafruit_blinka_raspberry_pi5_piomatter, m) {
py::options options;
options.enable_enum_members_docstring();
options.enable_function_signatures();
Expand All @@ -106,7 +106,7 @@ PYBIND11_MODULE(adafruit_raspberry_pi5_piomatter, m) {
HUB75 matrix driver for Raspberry Pi 5 using PIO
------------------------------------------------
.. currentmodule:: adafruit_raspberry_pi5_piomatter
.. currentmodule:: adafruit_blinka_raspberry_pi5_piomatter
.. autosummary::
:toctree: _generate
Expand Down

0 comments on commit 60ae202

Please sign in to comment.