Skip to content
This repository was archived by the owner on Jan 18, 2019. It is now read-only.
This repository was archived by the owner on Jan 18, 2019. It is now read-only.

Gamma functions #33

Open
Open
@davidhoness

Description

@davidhoness

I can see the gamma / low_light properties and gamma_reset function are there but do nothing. I don't expect them to do anything as they're basically pointless in this use case. I would like there to be a warning message, even if it's just an in-line print statement, informing the user that these functions are included only for compatibility but have no effect on the emulated visual output.

I've also noticed you can't seem to use the reversed function on the gamma property.

from sense_hat import SenseHat

sense = SenseHat()

print(len(sense.gamma))
sense.gamma = reversed(sense.gamma)

TypeError: object of type '<invalid type>' has no len() on line 6 in main.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions