Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atom S3 display has red and blue colors reversed #8998

Closed
scarolan opened this issue Mar 4, 2024 · 3 comments · Fixed by #9000
Closed

Atom S3 display has red and blue colors reversed #8998

scarolan opened this issue Mar 4, 2024 · 3 comments · Fixed by #9000
Labels
board New board or update to a single board bug esp32-s3
Milestone

Comments

@scarolan
Copy link

scarolan commented Mar 4, 2024

CircuitPython version

Adafruit CircuitPython 9.0.0-beta.2 on 2024-02-20; M5Stack AtomS3 with ESP32S3

Code/REPL

import displayio
import board

# Display setup
display = board.DISPLAY
display_group = displayio.Group()
display.root_group = display_group

# Try this with a red image, it shows up blue
# Create a TileGrid to hold the bitmap
logo_tile_grid = displayio.TileGrid(logo_bitmap, pixel_shader=logo_palette)

# Position the image in the upper middle of the display
logo_tile_grid.x = 90
logo_tile_grid.y = 5  # Adjust this value based on your image size and desired position

# Add the image to the display group
display_group.append(logo_tile_grid)

# Load your image using adafruit_imageload
thermometer_bitmap, thermometer_palette = adafruit_imageload.load("/thermometer.gif", 
                                                      bitmap=displayio.Bitmap, 
                                                      palette=displayio.Palette)

Behavior

It runs, but the colors are reversed

Description

No response

Additional information

No response

@scarolan scarolan added the bug label Mar 4, 2024
@dhalbert
Copy link
Collaborator

dhalbert commented Mar 4, 2024

This was added by @jins-tkomoda in #8474. @jins-tkomoda have you seen this issue?

@dhalbert dhalbert added board New board or update to a single board esp32-s3 labels Mar 4, 2024
@dhalbert dhalbert added this to the 9.x.x milestone Mar 4, 2024
@tkomde
Copy link

tkomde commented Mar 4, 2024

@dhalbert

I will check on it over the weekend.
I did not check to display images, so the process may be BGR order in the middle of the process.

@scarolan
Copy link
Author

scarolan commented Mar 4, 2024

菰田さん、ありがとうございました!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
board New board or update to a single board bug esp32-s3
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants