adafruit / adafruit/Adafruit_CircuitPython_BitmapSaver

Add support for broadcom (raspberry pi)

Open
#20 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
6
Forks
11
PR merge metrics
No merged PRs in 30d

Description

The broadcom port display is a FramebufferDisplay.

```
Traceback (most recent call last):
File "", line 1, in
File "adafruit_bitmapsaver.py", line 127, in save_pixels
ValueError: Second argument must be a Bitmap or Display
```

If I disable that check I get this:

```
Traceback (most recent call last):
File "", line 1, in
File "adafruit_bitmapsaver.py", line 94, in _write_pixels
ValueError: Display must have a 16 bit colourspace.
```

The broadcom display uses a 32 bit colourspace.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.