Title: No idea how to troubleshoot this system · Issue #19 · m5stack/M5Stack_MicroPython · GitHub
Open Graph Title: No idea how to troubleshoot this system · Issue #19 · m5stack/M5Stack_MicroPython
X Title: No idea how to troubleshoot this system · Issue #19 · m5stack/M5Stack_MicroPython
Description: The main documentation for this project shows examples such as the RTC section ` import machine import utime rtc = machine.RTC() rtc.ntp_sync(server="hr.pool.ntp.org", tz="CET-1CEST") rtc.synced() True utime.gmtime() (2018, 1, 29, 16, 3,...
Open Graph Description: The main documentation for this project shows examples such as the RTC section ` import machine import utime rtc = machine.RTC() rtc.ntp_sync(server="hr.pool.ntp.org", tz="CET-1CEST") rtc.synced() ...
X Description: The main documentation for this project shows examples such as the RTC section ` import machine import utime rtc = machine.RTC() rtc.ntp_sync(server="hr.pool.ntp.org", tz="CET-1CEST&...
Opengraph URL: https://github.com/m5stack/M5Stack_MicroPython/issues/19
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No idea how to troubleshoot this system","articleBody":"The main documentation for this project shows examples such as the RTC section\r\n`\r\nimport machine\r\nimport utime\r\n\r\nrtc = machine.RTC()\r\nrtc.ntp_sync(server=\"hr.pool.ntp.org\", tz=\"CET-1CEST\")\r\nrtc.synced()\r\nTrue\r\nutime.gmtime()\r\n(2018, 1, 29, 16, 3, 18, 2, 29)\r\nutime.localtime()\r\n(2018, 1, 29, 17, 3, 30, 2, 29)\r\n`\r\n\r\nThe Atom lite V1.6.3 says\r\n`\r\nTraceback (most recent call last):\r\n File \"flow/m5cloud.py\", line 82, in _exec_fun\r\n File \"\u003cstring\u003e\", line 13, in \u003cmodule\u003e\r\nAttributeError: 'RTC' object has no attribute 'ntp_sync'\r\n`\r\nThis project says it is made from and directly references the \"micropython lobos\" (https://github.com/loboris/MicroPython_ESP32_psRAM_LoBo/wiki/rtc)\r\nThis also mentions ntp_sync\r\n\r\nThen searching for micropython ntp , or the ntptime module is a huge mess of not working for years and never being documented or fixed apparently?\r\n\r\nntptime can be imported, but then has no settime() apparently\r\n\r\nIs there some kind of custom compilation required to get these modules? Do they not come standard in the m5 supplied uiflow IDE firmware? I feel like that isn't right since they do \"import\" but just do not contain functions?\r\n\r\n","author":{"url":"https://github.com/cdeadlock","@type":"Person","name":"cdeadlock"},"datePublished":"2020-09-23T19:11:28.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/19/M5Stack_MicroPython/issues/19"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ddef1073-643d-edbc-05e5-067af7398623 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 93D2:3E643E:443AC0:5BB494:6A4DA15D |
| html-safe-nonce | f736219ba9010c477e806106240fb5eae091276002b82f27cbba1220f418efd6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5M0QyOjNFNjQzRTo0NDNBQzA6NUJCNDk0OjZBNERBMTVEIiwidmlzaXRvcl9pZCI6IjU4NzA3NTg5MDMxMzAxMTU0OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e664fee50f6c4c65c85d15b03f3e0231598fc109cbdbb0a08a2c0473510ad85b |
| hovercard-subject-tag | issue:707613789 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/m5stack/M5Stack_MicroPython/19/issue_layout |
| twitter:image | https://opengraph.githubassets.com/721498f50f81ae84a51a2e768bb1979c256f01201563dd02ac7568d6782a8e70/m5stack/M5Stack_MicroPython/issues/19 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/721498f50f81ae84a51a2e768bb1979c256f01201563dd02ac7568d6782a8e70/m5stack/M5Stack_MicroPython/issues/19 |
| og:image:alt | The main documentation for this project shows examples such as the RTC section ` import machine import utime rtc = machine.RTC() rtc.ntp_sync(server="hr.pool.ntp.org", tz="CET-1CEST") rtc.synced() ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cdeadlock |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/m5stack/M5Stack_MicroPython git https://github.com/m5stack/M5Stack_MicroPython.git |
| octolytics-dimension-user_id | 17420673 |
| octolytics-dimension-user_login | m5stack |
| octolytics-dimension-repository_id | 123522024 |
| octolytics-dimension-repository_nwo | m5stack/M5Stack_MicroPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 116138602 |
| octolytics-dimension-repository_parent_nwo | loboris/MicroPython_ESP32_psRAM_LoBo |
| octolytics-dimension-repository_network_root_id | 116138602 |
| octolytics-dimension-repository_network_root_nwo | loboris/MicroPython_ESP32_psRAM_LoBo |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7f13faa65cccc9b729d674da83335d5dcfdfd193 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width