{"id":13613220,"url":"https://github.com/AnthonyKNorman/MicroPython_PCD8544","last_synced_at":"2025-04-13T15:32:53.122Z","repository":{"id":215170592,"uuid":"71764288","full_name":"AnthonyKNorman/MicroPython_PCD8544","owner":"AnthonyKNorman","description":null,"archived":false,"fork":false,"pushed_at":"2016-10-24T07:44:14.000Z","size":5,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-02T20:45:15.065Z","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-24T07:41:35.000Z","updated_at":"2022-03-02T09:05:20.000Z","dependencies_parsed_at":"2024-01-07T21:53:19.319Z","dependency_job_id":null,"html_url":"https://github.com/AnthonyKNorman/MicroPython_PCD8544","commit_stats":null,"previous_names":["anthonyknorman/micropython_pcd8544"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FMicroPython_PCD8544","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FMicroPython_PCD8544/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FMicroPython_PCD8544/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnthonyKNorman%2FMicroPython_PCD8544/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnthonyKNorman","download_url":"https://codeload.github.com/AnthonyKNorman/MicroPython_PCD8544/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223592515,"owners_count":17170503,"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.909Z","updated_at":"2024-11-07T21:30:52.331Z","avatar_url":"https://github.com/AnthonyKNorman.png","language":"Python","readme":"ESP8266 Micropython driver for PCD8544. Typically used in the Nokia 5110 display.\n\n**font5x7.fnt** is a 5 x 7 font file. It holds the font in pure binary and so uses only 480 bytes\n\nWhen the display needs a character it reads the five bytes it needs from the file rather than loading the whole font into memory\n\ninvoke the display with:\n\nfrom PCD8544 import PCD8544\n\nif you use different pins then you will need to specify these in the inital call\n\nd = PCD8544()\n\nd.reset()\n\nd.begin() # displays the Project Pages logo \n\nd.clear() # clears the display buffer\n\nd.display() # writes the buffer to the actual display\n\nd._row is the character row\n\nd._col is the character column\n\nd.p_char('x') \n* puts the character into the display buffer\n* advances _row and _col accoringly. They will wrap back to the top of the screen\n* requires d.display() to show it\n\nd.p_string('hello world') \n* prints the string to the display buffer\n* advances _row and _col accoringly. They will wrap back to the top of the screen\n* requires d.display() to show it\n\nd.pixel(x,y,fill)\n* sets a pixel in the display buffer \n* this is for use by the lcd_gfx.py\n* this allows you to draw lines, rectangles, triangles and circles. Filled or not\n\nI have added a main.py that demonstrates the string printing and drawing capabilities\n\n","funding_links":[],"categories":["精选驱动库","Libraries"],"sub_categories":["显示类","Display"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnthonyKNorman%2FMicroPython_PCD8544","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FAnthonyKNorman%2FMicroPython_PCD8544","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FAnthonyKNorman%2FMicroPython_PCD8544/lists"}