Skip to content

Add pin to PinAlarm object after deep sleep on raspberry pi pico #9372

@Levtastic

Description

@Levtastic

Currently on a raspberry pi pico after a deep sleep the alarm.wake_alarm object has a None in the pin attribute because finding the correct pin has not yet been implemented (see below)

mp_obj_t alarm_pin_pinalarm_record_wake_alarm(void) {
alarm_pin_pinalarm_obj_t *const alarm = &alarm_wake_alarm.pin_alarm;
alarm->base.type = &alarm_pin_pinalarm_type;
// TODO: how to obtain the correct pin from memory?
alarm->pin = NULL;
return alarm;
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy