{"id":13802561,"url":"https://github.com/rcolistete/MicroPython_AS7262X_driver","last_synced_at":"2025-05-13T13:32:21.146Z","repository":{"id":81135448,"uuid":"149603307","full_name":"rcolistete/MicroPython_AS7262X_driver","owner":"rcolistete","description":"MicroPython driver for AS7262/AS7263 nano spectrometer sensor","archived":false,"fork":false,"pushed_at":"2018-09-20T12:20:13.000Z","size":10,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-22T13:30:44.770Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rcolistete.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2018-09-20T12:07:23.000Z","updated_at":"2023-02-01T22:13:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"a2e15081-c0ae-4b9b-9512-0659e6b06fa1","html_url":"https://github.com/rcolistete/MicroPython_AS7262X_driver","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcolistete%2FMicroPython_AS7262X_driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcolistete%2FMicroPython_AS7262X_driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcolistete%2FMicroPython_AS7262X_driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rcolistete%2FMicroPython_AS7262X_driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rcolistete","download_url":"https://codeload.github.com/rcolistete/MicroPython_AS7262X_driver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225229873,"owners_count":17441336,"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-04T00:01:47.172Z","updated_at":"2024-11-18T18:30:25.863Z","avatar_url":"https://github.com/rcolistete.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Sensors"],"readme":"# MicroPython_AS7262X_driver\nMicroPython driver for AS7262/AS7263 nano spectrometer sensor\n\nThere are specific versions for :\n* Pyboard and BBC Micro:bit;\n* low memory usage, using less RAM memory.\n\n#### Examples using Micro:bit lowmem version, rename the driver to 'as726x.py' and copy it to flash memory.\n###### One shot mode (only one measure for each command) :\n```python\nfrom microbit import i2c\nimport as726x\nsensor = as726x.AS726X(i2c)\nsensor.takeOneShotSynchMeasurement()\n```\n##### Continuous mode :\n```python\nfrom microbit import i2c\nimport as726x\nsensor = as726x.AS726X(i2c)\nsensor.getCalibrated6Channels()\nsensor.setMeasurementMode(2)\nwhile True:                               \n    if sensor.dataAvailable():            \n        print(sensor.getCalibrated6Channels())\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcolistete%2FMicroPython_AS7262X_driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frcolistete%2FMicroPython_AS7262X_driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frcolistete%2FMicroPython_AS7262X_driver/lists"}