That explains everything. Thank you for clarifying!Unfortunately that's not the documentation for the class you're using. You're using "pyb.Pin", but that's the docs for "machine.Pin".

That explains everything. Thank you for clarifying!Unfortunately that's not the documentation for the class you're using. You're using "pyb.Pin", but that's the docs for "machine.Pin".
Now that is embarrassingdhylands wrote:Your main.py example is missing the parenthesis on the call to pyb.RTC It should be pyb.RTC()