Skip to content

RTC_LSE_CLOCK is not a member of 'STM32RTC' #18

@ghost

Description

When trying to use the external quartz on my Blue Pill STM32F103C8T6 by running:
rtc.setClockSource(STM32RTC::RTC_LSE_CLOCK);
the compiler returns
LEDMatrixClock:46:32: error: 'RTC_LSE_CLOCK' is not a member of 'STM32RTC' rtc.setClockSource(STM32RTC::RTC_LSE_CLOCK); ^~~~~~~~~~~~~

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