{"id":13613428,"url":"https://github.com/AnthonyKNorman/Micropython_TinyRTC","last_synced_at":"2025-04-13T15:33:08.901Z","repository":{"id":215170580,"uuid":"71766425","full_name":"AnthonyKNorman/Micropython_TinyRTC","owner":"AnthonyKNorman","description":null,"archived":false,"fork":false,"pushed_at":"2016-11-03T10:51:59.000Z","size":2,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-07T21:42:11.049Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnthonyKNorman.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2016-10-24T08:07:49.000Z","updated_at":"2023-01-08T20:13:15.000Z","dependencies_parsed_at":"2024-01-03T00:31:21.795Z","dependency_job_id":"eac66906-8f45-4cb4-9ae2-1a99eedb5b22","html_url":"https://github.com/AnthonyKNorman/Micropython_TinyRTC","commit_stats":null,"previous_names":["anthonyknorman/micropython_tinyrtc"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FMicropython_TinyRTC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FMicropython_TinyRTC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FMicropython_TinyRTC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FMicropython_TinyRTC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnthonyKNorman","download_url":"https://codeload.github.com/AnthonyKNorman/Micropython_TinyRTC/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248736168,"owners_count":21153541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T20:00:46.683Z","updated_at":"2025-04-13T15:33:08.631Z","avatar_url":"https://github.com/AnthonyKNorman.png","language":"Python","funding_links":[],"categories":["Libraries","精选驱动库"],"sub_categories":["Communications","通讯类"],"readme":"A simple library to read from, and write to, the cheap RTC modules you see on ebay\nIt defaults to using pin 2 for scl and pin 16 for sda, but you can easily change these\n\nNote: With the module that I used, there a two SMD resistors pulling up scl and sda to +5v.\nYou need to remove these and use pullups to 3v3 with the ESP8266. On my module they are R2 and R3. \n\nThe main features are:\n\n**TinyRTC.get_time_string()**\n\nreturns the time as a formatted 'hh:mm:ss' string\n\n\n**TinyRTC.get_date_string()**\n\nretruns the date as a formatted 'dd/mm/yyyy' string\n\n\n**TinyRTC.set_time(ss, mm, hh, dow, dd, MM, yy)**\n\nset the clock. After power up the clock will not run until this is executed\n\nI have included a **main.py** that will show the time and date on a Nokia 5110 using my library\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnthonyKNorman%2FMicropython_TinyRTC","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAnthonyKNorman%2FMicropython_TinyRTC","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnthonyKNorman%2FMicropython_TinyRTC/lists"}