{"id":24625153,"url":"https://github.com/johnmccabe/motephat","last_synced_at":"2026-05-18T05:41:50.032Z","repository":{"id":73913192,"uuid":"94933845","full_name":"johnmccabe/motephat","owner":"johnmccabe","description":null,"archived":false,"fork":false,"pushed_at":"2017-06-23T00:32:53.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-25T04:13:03.216Z","etag":null,"topics":[],"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/johnmccabe.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":"2017-06-20T20:49:21.000Z","updated_at":"2017-06-23T00:18:27.000Z","dependencies_parsed_at":"2023-09-21T13:45:22.298Z","dependency_job_id":null,"html_url":"https://github.com/johnmccabe/motephat","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/johnmccabe%2Fmotephat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmccabe%2Fmotephat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmccabe%2Fmotephat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnmccabe%2Fmotephat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnmccabe","download_url":"https://codeload.github.com/johnmccabe/motephat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244385812,"owners_count":20444150,"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-25T04:13:12.783Z","updated_at":"2026-05-18T05:41:45.009Z","avatar_url":"https://github.com/johnmccabe.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Travis Badge]][Travis]\n[![Go Report Card Badge]][Go Report Card]\n[![GoDoc Badge]][GoDoc]\n\n![Mote](go-mote-phat-logo.png)\nBuy the Mote PHAT \u0026 accessories here: https://shop.pimoroni.com/products/mote-phat\n\nThis repo contains a port of the [Pimoroni `mote-phat` library](https://github.com/pimoroni/mote-phat) from Python to Go, it also borrows heavily from @alexellis's [`blinkt_go` library](https://github.com/alexellis/blinkt_go). It has been verified to work on Raspberry Pi 3 (Raspbian). Do let me know if you run on a different platform.\n\nIf you have a non-PHAT Mote go here: https://github.com/johnmccabe/mote\n\n**WARNING THIS IS WORK IN PROGRESS, ISSUES/PULL REQUESTS STILL WELCOME THOUGH**\n![WIP](http://i.imgur.com/vWBepKi.gif)\n\n# Prerequisites\n\nYou should have Go version 1.8+ installed and your `GOPATH` configured.\n\nYou will need to have the `wiringpi` package installed.\n```\nsudo apt-get install -qy wiringpi\n```\n\n# Installation\n\nInstall the mote library with `go get`, like so:\n\n```bash\ngo get -u github.com/johnmccabe/motephat\n```\nYou can of course use your own choice of depedency management tool, Glide, Dep etc.\n\n\n# Examples\n\nYou can run the supplied example programs (ported from their Python equivalents) as follows (installing `glide` first which is used to pull down the examples dependencies).\n```\ngo get github.com/Masterminds/glide\ncd $GOPATH/src/github.com/johnmccabe/mote\nglide install\n```\nThen running each example as follows.\n```\ngo run examples/rgb/rgb.go 255 0 0\n```\n\n\n\n*The Golang Gopher was created by [Renée French](http://reneefrench.blogspot.co.uk/) and is [Creative Commons Attributions 3.0](https://creativecommons.org/licenses/by/3.0/) licensed.*\n\n[Travis]: https://travis-ci.org/johnmccabe/motephat\n[Travis Badge]: https://travis-ci.org/johnmccabe/motephat.svg?branch=master\n[Go Report Card]: https://goreportcard.com/report/github.com/johnmccabe/motephat\n[Go Report Card Badge]: https://goreportcard.com/badge/github.com/johnmccabe/motephat\n[GoDoc]: https://godoc.org/github.com/johnmccabe/motephat\n[GoDoc Badge]: https://godoc.org/github.com/johnmccabe/motephat?status.svg\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnmccabe%2Fmotephat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnmccabe%2Fmotephat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnmccabe%2Fmotephat/lists"}