Skip to content

Modification needed to make it compile #6

@Gerhard-Vienna

Description

@Gerhard-Vienna

At least with the latest SDK (2.2.0 ) a tiny modification is needed to make the examples compile:
In all main.c files replace:
.spi = PICO_DEFAULT_SPI_INSTANCE,
with
.spi = PICO_DEFAULT_SPI_INSTANCE(),

Also, to avoid compiler complaints, add:
#include "pico/time.h"
to st7789.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions