Skip to content

Binary Clock with Pico W - code error #20

Description

@viragored

Location: Line 100 of main.py in this https://github.com/garyexplains/examples/tree/master/Raspberry%20Pi%20Pico/How-to-Make-a-Binary-Clock-Using-a-Raspberry-Pi-Pico-W

Content: "Y, M, D, W, H, M, S, SS = rtc.datetime()"

Issue: The letter "M" is used twice, once to mean "month" and again to mean "minute"

Comment: It took me ages to realise that my code derived from yours was not working because one variable was being used for two different things!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions