Skip to content

CS Pin numbers that don't fit in an int8 seem to not work properly #480

@TinManAkshay

Description

@TinManAkshay

#399 and #359 seem to reference this issue, but it doesn't seem like there is any updates here.

I'm unable to get anything working on a custom STM32 board, but things seem to work with https://github.com/deirvlon/ST7789v-Arduino aside from their hardcoded size.

The _cs pin variable is at -61 which I suspect is the main issue, the other pins seem to be doing stuff on the scope, despite the negative values.

Has there been any progress on these issues? Perhaps as a quick hacky fix, the "greater than zero" checks could be replaced with "not -1" checks, so that it would at least work with most pins?

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