{"id":13802646,"url":"https://github.com/MarksBench/mb_23LC1024","last_synced_at":"2025-05-13T13:32:37.545Z","repository":{"id":215170820,"uuid":"365120293","full_name":"MarksBench/mb_23LC1024","owner":"MarksBench","description":"Very simple MicroPython module to use a Microchip 23LC1024 SPI SRAM with a Raspberry Pi Pico (RP2040)","archived":false,"fork":false,"pushed_at":"2021-06-04T06:56:08.000Z","size":25,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-22T13:31:29.406Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/MarksBench.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-07T05:07:47.000Z","updated_at":"2024-08-04T00:07:31.738Z","dependencies_parsed_at":null,"dependency_job_id":"fdcc8611-ba04-4d13-a797-380296c2d7ee","html_url":"https://github.com/MarksBench/mb_23LC1024","commit_stats":null,"previous_names":["marksbench/mb_23lc1024"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarksBench%2Fmb_23LC1024","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarksBench%2Fmb_23LC1024/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarksBench%2Fmb_23LC1024/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarksBench%2Fmb_23LC1024/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarksBench","download_url":"https://codeload.github.com/MarksBench/mb_23LC1024/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225229880,"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:49.336Z","updated_at":"2024-11-18T18:30:32.328Z","avatar_url":"https://github.com/MarksBench.png","language":"Python","funding_links":[],"categories":["Libraries"],"sub_categories":["Storage"],"readme":"# mb_23LC1024\nVery simple MicroPython module to use a Microchip 23LC1024 SPI SRAM with a Raspberry Pi Pico (RP2040)\n\nThis module is intended to make using the 23LC1024 as simple as possible. It only accepts an address (range 0-131071) and a value (range 0-255).\n\nThere are probably much better ways to do this but who knows, someone might find it useful.\n\nAuthor: mark@marksbench.com\n\nVersion: 0.1, 2021-05-07\n\n**NOTE: There is no guarantee that this software will work in the way you expect (or at all).\n**Use at your own risk.\n\nPrerequisites:\n- RP2040 silicon (tested with Raspberry Pi Pico)\n- MicroPython v1.15 on 2021-04-18; Raspberry Pi Pico with RP2040\n- 23LC1024 connected to hardware SPI port0 or port1 pins\n- Dedicated /CS pin (can be any GP pin that's not already being used for SPI). Do not tie /CS to\n  GND - the 23LC1024 requires state changes on /CS to function properly.\n\nUsage:\n- from machine import Pin, SPI\n- import utime\n- import mb_23LC1024\n- Set up SPI using a hardware SPI port 0 or 1. Polarity and phase are both 0.\n- specify /CS pin (can be any GP pin that's not already being used for SPI):\n  cs = GP#\n- Create constructor:\n  thisMemoryChipDeviceName = mb_23LC1024.mb_23LC1024(spi, cs)\n- To write a single byte to an address:\n  thisMemoryChipDeviceName.write_byte(address, value)\n- To read a single byte from an address:\n  thisMemoryChipDeviceName.read_byte(address)\n- See mb_23LC1024_example.py\n\nFor more information, consult the Raspberry Pi Pico MicroPython SDK documentation at:\n  https://datasheets.raspberrypi.org/pico/raspberry-pi-pico-python-sdk.pdf\n  \n  and the Microchip 23LC1024 datasheet at:\n  http://ww1.microchip.com/downloads/en/DeviceDoc/20005142C.pdf\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarksBench%2Fmb_23LC1024","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMarksBench%2Fmb_23LC1024","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMarksBench%2Fmb_23LC1024/lists"}