{"id":13613199,"url":"https://github.com/forester3/micropython-lcd-AQM1248A","last_synced_at":"2025-04-13T15:32:47.954Z","repository":{"id":215170591,"uuid":"112005199","full_name":"forester3/micropython-lcd-AQM1248A","owner":"forester3","description":null,"archived":false,"fork":false,"pushed_at":"2018-07-11T23:59:04.000Z","size":13,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-04-22T12:34:09.429Z","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/forester3.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":"2017-11-25T13:21:03.000Z","updated_at":"2024-03-20T01:34:59.000Z","dependencies_parsed_at":"2024-01-07T21:53:20.343Z","dependency_job_id":null,"html_url":"https://github.com/forester3/micropython-lcd-AQM1248A","commit_stats":null,"previous_names":["forester3/micropython-lcd-aqm1248a"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forester3%2Fmicropython-lcd-AQM1248A","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forester3%2Fmicropython-lcd-AQM1248A/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forester3%2Fmicropython-lcd-AQM1248A/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/forester3%2Fmicropython-lcd-AQM1248A/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/forester3","download_url":"https://codeload.github.com/forester3/micropython-lcd-AQM1248A/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248736019,"owners_count":21153521,"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:41.402Z","updated_at":"2025-04-13T15:32:47.736Z","avatar_url":"https://github.com/forester3.png","language":"Python","funding_links":[],"categories":["Libraries","精选驱动库"],"sub_categories":["Display","显示类"],"readme":"# micropython-lcd-AQM1248A\nA character display class for controlling the mini graphic LCD AQM1248A with the micropython esp8266.\n\nThere are one external dependences, it is **\"machine\"** class.\n\n## New module aqm1248largechrlcd  \n\nDisplayed large font size is 15x21.\n### Usage\n~~~\nimport machine\nimport aqm1248largechrlcd\nhspi = machine.SPI(1)\nlcd = aqm1248largechrlcd.LargeChrLcd( hspi, cs_pin=2, rs_pin=15 )\nlcd.clear()\nlcd.write( 'Micro\\n' )\nlcd.write( 'Python' )  \n~~~\n## Second module aqm1248midchrlcd\n\nDisplayed medium font size is 10x14.  \n### Usage\n~~~\nimport machine\nimport aqm1248midchrlcd\nhspi = machine.SPI(1)\nlcd = aqm1248midchrlcd.MidChrLcd( hspi, cs_pin=2, rs_pin=15 )\nlcd.clear()\nlcd.write( 'Hello, AQM1248A !' )\nlcd.text('Micro', 12, 2)  \n~~~\nIn text() method, the page number is only even number.  \n(column = 12, page =2) means to display a medium size font on the 2nd column of the 2nd line.\n\n## First module aqm1248chrlcd\n### Usage\n\nuse hardware SPI\n~~~\nimport machine\nhspi = machine.SPI(1)\nimport aqm1248chrlcd\nlcd = aqm1248chrlcd.ChrLcd( hspi, cs_pin=2, rs_pin=15 )\nlcd.clear()\nlcd.write( 'Hello, AQM1248A !' )\n~~~\nuse software SPI\n~~~\nimport machine\nsspi = machine.SPI(-1, sck=machine.Pin(14), mosi=machine.Pin(13), miso=machine.Pin(12) )\nimport aqm1248chrlcd\nlcd = aqm1248chrlcd.ChrLcd( sspi, cs_pin=2, rs_pin=15 )\nlcd.clear()\nlcd.text( 'Hello, World !!', 3, 3 )\n~~~\n### usage of text() method  \nThe second argument is column, the range is from 0 to 128.  \nThe third argument is page, the range is form 0 to 5.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforester3%2Fmicropython-lcd-AQM1248A","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fforester3%2Fmicropython-lcd-AQM1248A","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fforester3%2Fmicropython-lcd-AQM1248A/lists"}