{"id":20279183,"url":"https://github.com/peterhellberg/microview","last_synced_at":"2025-11-30T21:04:00.100Z","repository":{"id":57525777,"uuid":"87274197","full_name":"peterhellberg/microview","owner":"peterhellberg","description":"Go library used to remote control a MicroView","archived":false,"fork":false,"pushed_at":"2017-04-07T07:36:22.000Z","size":13,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T07:11:26.841Z","etag":null,"topics":["arduino","go","microview","oled-display"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/peterhellberg.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}},"created_at":"2017-04-05T06:28:22.000Z","updated_at":"2017-04-17T20:27:47.000Z","dependencies_parsed_at":"2022-08-29T00:31:29.418Z","dependency_job_id":null,"html_url":"https://github.com/peterhellberg/microview","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/peterhellberg%2Fmicroview","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fmicroview/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fmicroview/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peterhellberg%2Fmicroview/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peterhellberg","download_url":"https://codeload.github.com/peterhellberg/microview/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241768278,"owners_count":20017129,"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":["arduino","go","microview","oled-display"],"created_at":"2024-11-14T13:28:45.672Z","updated_at":"2025-11-30T21:03:55.068Z","avatar_url":"https://github.com/peterhellberg.png","language":"Go","readme":"# microview\n\n\u003cimg src=\"https://cdn.rawgit.com/geekammo/learn-website-source/master/images/MicroViewWithProgrammer.png\" width=\"256\" align=\"right\"\u003e\n\n[![Build Status](https://travis-ci.org/peterhellberg/microview.svg?branch=master)](https://travis-ci.org/peterhellberg/microview)\n[![Go Report Card](https://goreportcard.com/badge/github.com/peterhellberg/microview?branch=master)](https://goreportcard.com/report/github.com/peterhellberg/microview)\n[![GoDoc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat)](https://godoc.org/github.com/peterhellberg/microview)\n[![License MIT](https://img.shields.io/badge/license-MIT-lightgrey.svg?style=flat)](https://github.com/peterhellberg/microview/blob/master/LICENSE)\n\n\nGo library used to remote control a [MicroView](http://microview.io/)\n\n## Requirements\n\n- [MicroView - OLED Arduino Module](https://www.sparkfun.com/products/12923)\n- [USB Programmer](https://www.sparkfun.com/products/12924)\n- [Arduino IDE](https://www.arduino.cc/en/Main/Software)\n\n## Install\n\n### Go package\n\n    go get -u github.com/peterhellberg/microview\n\n### MicroView Arduino Library\n\n**Note:** This package requires the use of a newer version of the\n[MicroView Arduino Library](https://github.com/geekammo/MicroView-Arduino-Library)\n(`v1.07b` or later) than what is currently available in the Arduino Library Manager.\n\nSo just follow these steps instead:\n\n1. Change directory to Arduino's main directory (`~/Documents/Arduino/` in my case)\n2. cd libraries\n3. mkdir MicroView\n4. cd MicroView\n5. git clone https://github.com/geekammo/MicroView-Arduino-Library.git .\n\n### Arduino sketch\n\nNow you need to upload the following sketch to your MicroView using the Arduino IDE\n\n```arduino\n#include \u003cMicroView.h\u003e\n\nvoid setup() {\n  uView.begin();\n  uView.clear(PAGE);\n\n  Serial.begin(115200);\n  Serial.print(\"MicroView\");\n}\n\nvoid loop() {\n  uView.checkComm();\n}\n```\n\n## Example\n\n```go\npackage main\n\nimport (\n\t\"flag\"\n\t\"log\"\n\t\"time\"\n\n\t. \"github.com/peterhellberg/microview\"\n)\n\nfunc main() {\n\tname := flag.String(\"name\", \"/dev/cu.usbserial-DA00SSM3\", \"name of the serial port\")\n\n\tflag.Parse()\n\n\tmv, err := OpenMicroView(*name, Delay(90*time.Millisecond))\n\tif err != nil {\n\t\tlog.Fatal(err)\n\t}\n\n\tmv.Run(\n\t\tRectFill(5, 5, 5, 15),\n\t\tRectFill(25, 0, 30, 15),\n\t\tRect(1, 1, 20, 40),\n\t\tRect(40, 20, 20, 20),\n\t\tRect(40, 20, 15, 15),\n\t\tRect(40, 20, 10, 10),\n\t\tRect(40, 20, 5, 5),\n\t)\n}\n```\n\n![rectangles](https://cloud.githubusercontent.com/assets/565124/24702712/5bc3e85e-1a00-11e7-8554-4b794e1b700a.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Fmicroview","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeterhellberg%2Fmicroview","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeterhellberg%2Fmicroview/lists"}