{"id":24274517,"url":"https://github.com/therookiecoder/ardudraw","last_synced_at":"2025-07-06T08:02:41.548Z","repository":{"id":272424799,"uuid":"916516261","full_name":"theRookieCoder/ardudraw","owner":"theRookieCoder","description":"Simple Arduboy pixel art program","archived":false,"fork":false,"pushed_at":"2025-01-14T17:42:58.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-05T08:38:20.914Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","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/theRookieCoder.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":"2025-01-14T08:50:02.000Z","updated_at":"2025-01-14T17:43:03.000Z","dependencies_parsed_at":"2025-01-14T11:21:54.595Z","dependency_job_id":"0ff52e2a-46ce-4def-a0d9-230ead18caeb","html_url":"https://github.com/theRookieCoder/ardudraw","commit_stats":null,"previous_names":["therookiecoder/ardudraw"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/theRookieCoder/ardudraw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theRookieCoder%2Fardudraw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theRookieCoder%2Fardudraw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theRookieCoder%2Fardudraw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theRookieCoder%2Fardudraw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theRookieCoder","download_url":"https://codeload.github.com/theRookieCoder/ardudraw/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theRookieCoder%2Fardudraw/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263868203,"owners_count":23522315,"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":"2025-01-15T20:47:46.521Z","updated_at":"2025-07-06T08:02:41.521Z","avatar_url":"https://github.com/theRookieCoder.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ardudraw\n\nArdudraw is a simple Arduboy pixel art program\n\n\u003e [!CAUTION]\n\u003e \n\u003e If you save your artwork, any EEPROM data stored by other programs (such as high scores or game saves) will be overwritten.\n\n## Features\n\nDraw in a `126`x`64` canvas.  \nSave your artwork to non-volatile storage to continue your work after powering off.  \nDownload your artwork to a computer as a bitmap `.bmp` image file.\n\n## Instructions\n\n\u003e [!NOTE]\n\u003e\n\u003e You may see garbage on the screen when you first run the program, this is EEPROM data that previous programs you've run have written. Hold `A` for 3 seconds to clear the screen.\n\n- Use the *D-pad* to **move** the cursor around the screen\n- *Use `A`* to **toggle** the colour of the pixel under the cursor\n- *Hold `A` for 3 seconds* to **clear** the screen and start a new piece\n- *Hold `B` for 1 second* to **save** your artwork to non-volatile storage\n\n1. Connect your Arduboy to a computer\n2. Run the included python script (`pyserial` and `microbmp` libraries are required)\n3. *Hold `B` for 1 second* to **download** your artwork\n\n## Technical Details\n\n### EEPROM and Canvas Size\n\nThe canvas isn't the full screen size since there isn't enough space in the EEPROM. When packed into bytes, the screen takes up `1024` bytes, and the `ATmega32u4` has exactly `1024` bytes of EEPROM. However, the `Arduboy2` library uses 16 bytes to store user settings, the device name, etc. So I removed 2 columns of the screen from the canvas to make it fit in the EEPROM.\n\n### Cursor\n\nThe cursor blinks at ~`6 Hz` and can wrap around the screen. It also has key repeat so that you can do single-pixel movements by tapping the button, and continuous movement by holding (the repeat threshold is ~`250 ms`).\n\n### Computer Upload\n\nThe upload is done over serial at `38400` baud. The first two bytes sent are the canvas width and height. Then the pixels are sent left-to-right then top-down with `0x00` being black and `0x01` being white. Finally, `\\n` is sent to indicate that the image has been sent and the connection can be terminated.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherookiecoder%2Fardudraw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftherookiecoder%2Fardudraw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftherookiecoder%2Fardudraw/lists"}