{"id":16239520,"url":"https://github.com/meganetaaan/moddable-examples","last_synced_at":"2025-03-19T16:31:34.893Z","repository":{"id":42526157,"uuid":"178303779","full_name":"meganetaaan/moddable-examples","owner":"meganetaaan","description":"A bunch of example codes with Moddable SDK.","archived":false,"fork":false,"pushed_at":"2023-03-02T23:25:54.000Z","size":7678,"stargazers_count":34,"open_issues_count":10,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-17T09:06:36.032Z","etag":null,"topics":["ble","bongocat","moddable","neopixel"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/meganetaaan.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":"2019-03-29T00:37:23.000Z","updated_at":"2024-09-26T05:57:15.000Z","dependencies_parsed_at":"2024-10-27T21:23:12.375Z","dependency_job_id":"8b6797c6-d858-45a0-9572-75d596b39386","html_url":"https://github.com/meganetaaan/moddable-examples","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meganetaaan%2Fmoddable-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meganetaaan%2Fmoddable-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meganetaaan%2Fmoddable-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/meganetaaan%2Fmoddable-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/meganetaaan","download_url":"https://codeload.github.com/meganetaaan/moddable-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244463795,"owners_count":20456944,"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":["ble","bongocat","moddable","neopixel"],"created_at":"2024-10-10T13:43:57.828Z","updated_at":"2025-03-19T16:31:30.949Z","avatar_url":"https://github.com/meganetaaan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Moddableサンプルコード集\n\nM5StackとModdableを使ったサンプルコード集です。\n\n## 必要環境（Prerequisities）\n\n### M5Stack\n\n* ESP32を搭載した開発ボードです。\n* https://m5stack.com/\n* 日本国内では[スイッチサイエンス](https://www.switch-science.com/catalog/list/770/)や[ヨドバシ.com](https://www.yodobashi.com/maker/5000003374/)から購入できます。\n\n### Moddable SDK\n\n* JavaScriptでマイコン向けのプログラムを開発できるSDKです。\n* https://www.moddable.com/\n* [公式の手順を参考](https://github.com/Moddable-OpenSource/moddable/blob/public/documentation/Moddable%20SDK%20-%20Getting%20Started.md)にセットアップしてください。\n\n## ビルド方法\n\n1. デバイスをPCにUSB接続します\n2. 下記のコマンドを実行します。\n\n```sh\n$ cd (各サンプルのディレクトリ)\n$ mcconfig -d -m -p esp32/m5stack\n```\n\n## 各サンプルの紹介\n\n### bongo\n\nボンゴキャットがボンゴを叩く！ひたすら叩く！\n\n* Aボタン、Cボタン：ボンゴを叩く\n* Bボタン：ニャーンと鳴く\n\nBongo Cat originally created by @StrayRogue and @DitzyFlama\nImage by \u003ca href=\"https://pixabay.com/users/obBilder-3192627/?utm_source=link-attribution\u0026amp;utm_medium=referral\u0026amp;utm_campaign=image\u0026amp;utm_content=1661115\"\u003eobBilder\u003c/a\u003e from \u003ca href=\"https://pixabay.com/?utm_source=link-attribution\u0026amp;utm_medium=referral\u0026amp;utm_campaign=image\u0026amp;utm_content=1661115\"\u003ePixabay\u003c/a\u003e\n\n### counter\n\nボタンを押すとカウントアップするカウンターです。\n\n### pomodoro\n\nポモドーロタイマーです。\n\n### unit/env\n\n温湿度計のサンプルです。\nM5StackのEnvユニットから温度と湿度を取得し、画面に表示します。\n\n### unit/color\n\nカラーピッカーのサンプルです。\nM5StackのColorユニットから色を取得し、16進数のカラーコードに変換して表示します。\n\n### unit/neopixel\n\nNeoチカのサンプルです。\nM5StackのNeoPixelユニット、またはM5StackFireやM5StackGoに搭載のLEDを光らせます。\n\n### network/ifttt-client\n\nIFTTTのWebHookを叩くクライアントです。\n\n### network/light-server\n\nネットワーク経由でLEDのON/OFFができるサーバです。\n\n### ble/qr-ble\n\nBLE(Bluetooth Low Energy) を使ったサンプルです。\nスマートフォンから文字列を送信し、M5StackにQRコードとして表示できます。\n\n### ble/line-things\n\n- [line/line-things-starter](https://github.com/line/line-things-starter)のModdableSDK向け移植です。\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeganetaaan%2Fmoddable-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmeganetaaan%2Fmoddable-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmeganetaaan%2Fmoddable-examples/lists"}