Merge pull request #22 from adafruit/fix-module-name
Some checks failed
Pip / build (ubuntu-24.04-arm, 3.11) (push) Has been cancelled
Pip / build (ubuntu-24.04-arm, 3.12) (push) Has been cancelled
Pip / build (ubuntu-24.04-arm, 3.13) (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Wheels / Build SDist (push) Has been cancelled
Wheels / Wheels on ubuntu-24.04-arm (push) Has been cancelled
Wheels / Upload release (push) Has been cancelled
Some checks failed
Pip / build (ubuntu-24.04-arm, 3.11) (push) Has been cancelled
Pip / build (ubuntu-24.04-arm, 3.12) (push) Has been cancelled
Pip / build (ubuntu-24.04-arm, 3.13) (push) Has been cancelled
pre-commit / pre-commit (push) Has been cancelled
Wheels / Build SDist (push) Has been cancelled
Wheels / Wheels on ubuntu-24.04-arm (push) Has been cancelled
Wheels / Upload release (push) Has been cancelled
Change module name
This commit is contained in:
commit
c0150816d2
14 changed files with 15 additions and 15 deletions
|
|
@ -1 +1 @@
|
||||||
.. automodule:: adafruit_raspberry_pi5_piomatter
|
.. automodule:: adafruit_blinka_raspberry_pi5_piomatter
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@ Contents:
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 2
|
||||||
|
|
||||||
adafruit_raspberry_pi5_piomatter
|
adafruit_blinka_raspberry_pi5_piomatter
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ For help with commandline arguments, run `python fbmirror.py --help`
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
|
||||||
import adafruit_raspberry_pi5_piomatter as piomatter
|
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
|
||||||
import click
|
import click
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import piomatter_click
|
import piomatter_click
|
||||||
|
|
|
||||||
|
|
@ -37,7 +37,7 @@ or if `/boot/firmware/cmdline.txt` specifies a resolution such as
|
||||||
`... video=HDMI-A-1:640x480M@60D`.
|
`... video=HDMI-A-1:640x480M@60D`.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import adafruit_raspberry_pi5_piomatter as piomatter
|
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
|
||||||
import click
|
import click
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import PIL.Image as Image
|
import PIL.Image as Image
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@
|
||||||
from collections.abc import Callable
|
from collections.abc import Callable
|
||||||
from typing import Any
|
from typing import Any
|
||||||
|
|
||||||
import adafruit_raspberry_pi5_piomatter as piomatter
|
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
|
||||||
import click
|
import click
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ The animated gif is played repeatedly until interrupted with ctrl-c.
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import adafruit_raspberry_pi5_piomatter as piomatter
|
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import PIL.Image as Image
|
import PIL.Image as Image
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ import glob
|
||||||
import sys
|
import sys
|
||||||
import time
|
import time
|
||||||
|
|
||||||
import adafruit_raspberry_pi5_piomatter as piomatter
|
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import PIL.Image as Image
|
import PIL.Image as Image
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ $ python quote_scroller.py
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import adafruit_raspberry_pi5_piomatter as piomatter
|
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import requests
|
import requests
|
||||||
from PIL import Image, ImageDraw, ImageFont
|
from PIL import Image, ImageDraw, ImageFont
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ Run like this:
|
||||||
$ python rainbow_spiral.py
|
$ python rainbow_spiral.py
|
||||||
|
|
||||||
"""
|
"""
|
||||||
import adafruit_raspberry_pi5_piomatter as piomatter
|
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import rainbowio
|
import rainbowio
|
||||||
from PIL import Image, ImageDraw
|
from PIL import Image, ImageDraw
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ The image is displayed until the user hits enter to exit.
|
||||||
|
|
||||||
import pathlib
|
import pathlib
|
||||||
|
|
||||||
import adafruit_raspberry_pi5_piomatter as piomatter
|
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import PIL.Image as Image
|
import PIL.Image as Image
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ The image is displayed until the user hits enter to exit.
|
||||||
|
|
||||||
import pathlib
|
import pathlib
|
||||||
|
|
||||||
import adafruit_raspberry_pi5_piomatter as piomatter
|
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import PIL.Image as Image
|
import PIL.Image as Image
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ $ python simpletest.py
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import adafruit_raspberry_pi5_piomatter as piomatter
|
import adafruit_blinka_raspberry_pi5_piomatter as piomatter
|
||||||
import numpy as np
|
import numpy as np
|
||||||
from PIL import Image, ImageDraw
|
from PIL import Image, ImageDraw
|
||||||
|
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -11,7 +11,7 @@ __version__ = get_version()
|
||||||
# say from a submodule.
|
# say from a submodule.
|
||||||
|
|
||||||
ext_modules = [
|
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"],
|
["src/pymain.cpp", "src/piolib/piolib.c", "src/piolib/pio_rp1.c"],
|
||||||
define_macros = [('VERSION_INFO', __version__)],
|
define_macros = [('VERSION_INFO', __version__)],
|
||||||
include_dirs = ['./src/include', './src/piolib/include'],
|
include_dirs = ['./src/include', './src/piolib/include'],
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ make_piomatter(Colorspace c, Pinout p, py::buffer buffer,
|
||||||
}
|
}
|
||||||
} // namespace
|
} // namespace
|
||||||
|
|
||||||
PYBIND11_MODULE(adafruit_raspberry_pi5_piomatter, m) {
|
PYBIND11_MODULE(adafruit_blinka_raspberry_pi5_piomatter, m) {
|
||||||
py::options options;
|
py::options options;
|
||||||
options.enable_enum_members_docstring();
|
options.enable_enum_members_docstring();
|
||||||
options.enable_function_signatures();
|
options.enable_function_signatures();
|
||||||
|
|
@ -106,7 +106,7 @@ PYBIND11_MODULE(adafruit_raspberry_pi5_piomatter, m) {
|
||||||
HUB75 matrix driver for Raspberry Pi 5 using PIO
|
HUB75 matrix driver for Raspberry Pi 5 using PIO
|
||||||
------------------------------------------------
|
------------------------------------------------
|
||||||
|
|
||||||
.. currentmodule:: adafruit_raspberry_pi5_piomatter
|
.. currentmodule:: adafruit_blinka_raspberry_pi5_piomatter
|
||||||
|
|
||||||
.. autosummary::
|
.. autosummary::
|
||||||
:toctree: _generate
|
:toctree: _generate
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue