{"id":26161691,"url":"https://github.com/mark0011astra/ledarrayvisualizer","last_synced_at":"2026-04-24T19:32:29.547Z","repository":{"id":227455276,"uuid":"769200649","full_name":"mark0011astra/LEDArrayVisualizer","owner":"mark0011astra","description":"MAX7219 8X8 LEDマトリクス上で配列を表示する。MD_MAX72XX.hをより抽象化したラッパー。MAX7219 A more abstract wrapper around MD_MAX72XX.h for displaying arrays on an 8X8 LED matrix.","archived":false,"fork":false,"pushed_at":"2024-03-13T10:12:16.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-11T12:58:18.836Z","etag":null,"topics":["array-visualizer","cpp","led"],"latest_commit_sha":null,"homepage":"","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/mark0011astra.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}},"created_at":"2024-03-08T14:49:49.000Z","updated_at":"2024-03-16T12:58:00.000Z","dependencies_parsed_at":"2024-03-13T12:48:38.014Z","dependency_job_id":null,"html_url":"https://github.com/mark0011astra/LEDArrayVisualizer","commit_stats":null,"previous_names":["mark0011astra/ledarrayvisualizer"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mark0011astra/LEDArrayVisualizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark0011astra%2FLEDArrayVisualizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark0011astra%2FLEDArrayVisualizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark0011astra%2FLEDArrayVisualizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark0011astra%2FLEDArrayVisualizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mark0011astra","download_url":"https://codeload.github.com/mark0011astra/LEDArrayVisualizer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mark0011astra%2FLEDArrayVisualizer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32238417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["array-visualizer","cpp","led"],"created_at":"2025-03-11T12:55:07.136Z","updated_at":"2026-04-24T19:32:29.531Z","avatar_url":"https://github.com/mark0011astra.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LEDArrayVisualizer Library\n\nLEDArrayVisualizer is an Arduino library that simplifies the process of visualizing 2D integer arrays on an 8x8 LED matrix using the FC-16 driver. This library is built on top of the MD_MAX72XX library and provides an easy-to-use interface for displaying data on the LED matrix.\n\n## Features\n\n- Display 8x8 integer arrays on an LED matrix\n- Clear the LED matrix display\n- Compatible with FC-16 driver\n- Easy-to-use interface\n- Utilizes the MD_MAX72XX library for low-level control\n\n## Installation\n\n1. Download the LEDArrayVisualizer library from the [GitHub repository](https://github.com/your-username/LEDArrayVisualizer).\n2. Extract the downloaded ZIP file.\n3. Move the extracted `LEDArrayVisualizer` folder to your Arduino libraries directory (usually located at `C:\\Users\\\u003cusername\u003e\\Documents\\Arduino\\libraries`).\n4. Open the Arduino IDE.\n5. Make sure the MD_MAX72XX library is also installed. You can download it from the [MD_MAX72XX GitHub repository](https://github.com/MajicDesigns/MD_MAX72XX).\n\n## Usage\n\n1. Include the LEDArrayVisualizer library in your Arduino sketch:\n\n```cpp\n#include \u003cLEDArrayVisualizer.h\u003e\n```\n\n2. Create an instance of the LEDArrayVisualizer class, specifying the data pin, clock pin, chip select pin, and the number of devices:\n\n```cpp\nLEDArrayVisualizer visualizer = {\n  .dataPin = 11,\n  .clkPin = 13,\n  .csPin = 10,\n  .numDevices = 1\n};\n```\n\n3. In the `setup()` function, initialize the visualizer:\n\n```cpp\nvoid setup() {\n  visualizer.begin();\n}\n```\n\n4. In the `loop()` function, create an 8x8 integer array and display it using the `displayArray()` function:\n\n```cpp\nint myArray[8][8] = {\n  {1, 0, 0, 1, 0, 0, 0, 0},\n  {0, 1, 1, 0, 0, 0, 0, 0},\n  {0, 1, 1, 0, 0, 0, 0, 0},\n  {1, 0, 0, 1, 0, 0, 0, 0},\n  {0, 0, 0, 0, 0, 0, 0, 0},\n  {0, 0, 0, 0, 0, 0, 0, 0},\n  {0, 0, 0, 0, 0, 0, 0, 0},\n  {0, 0, 0, 0, 0, 0, 0, 0}\n};\n\nvoid loop() {\n  visualizer.displayArray(myArray);\n  delay(1000);\n  visualizer.clear();\n  delay(1000);\n}\n```\n\n5. Upload the sketch to your Arduino board, and you should see the array displayed on the LED matrix.\n\n## API Reference\n\n### `LEDArrayVisualizer(uint8_t dataPin, uint8_t clkPin, uint8_t csPin, uint8_t numDevices)`\n\nConstructor for the LEDArrayVisualizer class.\n\n- `dataPin`: The data pin connected to the LED matrix.\n- `clkPin`: The clock pin connected to the LED matrix.\n- `csPin`: The chip select pin connected to the LED matrix.\n- `numDevices`: The number of LED matrix devices connected in series.\n\n### `void begin()`\n\nInitializes the LEDArrayVisualizer library and the underlying MD_MAX72XX library.\n\n### `void displayArray(int arr[8][8])`\n\nDisplays an 8x8 integer array on the LED matrix.\n\n- `arr`: The 8x8 integer array to be displayed. A value of 0 represents an OFF pixel, while any non-zero value represents an ON pixel.\n\n### `void clear()`\n\nClears the LED matrix display, turning off all pixels.\n\n## Examples\n\nCheck the `examples` folder in the library directory for sample sketches demonstrating the usage of the LEDArrayVisualizer library.\n\n## Dependencies\n\n- MD_MAX72XX library: https://github.com/MajicDesigns/MD_MAX72XX\n\n## License\n\nThis library is released under the [MIT License](https://opensource.org/licenses/MIT).\n\n## Contributing\n\nContributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request on the [GitHub repository](https://github.com/your-username/LEDArrayVisualizer).\n\n\n## Acknowledgments\n\n- MD_MAX72XX library by Marco Colli\n- FC-16 LED Matrix Module\n\n# LEDArrayVisualizer ライブラリ\n\nLEDArrayVisualizerは、FC-16ドライバを使用して8x8 LEDマトリクス上に2次元の整数配列を視覚化するプロセスを簡単にするArduinoライブラリです。このライブラリは、MD_MAX72XXライブラリの上に構築されており、LEDマトリクスにデータを表示するための使いやすいインターフェースを提供します。\n\n## 特徴\n\n- 8x8の整数配列をLEDマトリクスに表示\n- LEDマトリクスのディスプレイをクリア\n- FC-16ドライバと互換性があります\n- 使いやすいインターフェース\n- 低レベルの制御にMD_MAX72XXライブラリを利用\n\n## インストール方法\n\n1. [GitHubリポジトリ](https://github.com/your-username/LEDArrayVisualizer)からLEDArrayVisualizerライブラリをダウンロードします。\n2. ダウンロードしたZIPファイルを解凍します。\n3. 解凍した `LEDArrayVisualizer` フォルダを、Arduinoライブラリディレクトリ（通常は `C:\\Users\\\u003cusername\u003e\\Documents\\Arduino\\libraries` にあります）に移動します。\n4. Arduino IDEを開きます。\n5. MD_MAX72XXライブラリもインストールされていることを確認してください。[MD_MAX72XX GitHubリポジトリ](https://github.com/MajicDesigns/MD_MAX72XX)からダウンロードできます。\n\n## 使用方法\n\n1. ArduinoスケッチでLEDArrayVisualizerライブラリをインクルードします：\n\n```cpp\n#include \u003cLEDArrayVisualizer.h\u003e\n```\n\n2. データピン、クロックピン、チップセレクトピン、デバイス数を指定して、LEDArrayVisualizerクラスのインスタンスを作成します：\n\n```cpp\nLEDArrayVisualizer visualizer = {\n  .dataPin = 11,\n  .clkPin = 13,\n  .csPin = 10,\n  .numDevices = 1\n};\n```\n\n3. `setup()` 関数で、ビジュアライザを初期化します：\n\n```cpp\nvoid setup() {\n  visualizer.begin();\n}\n```\n\n4. `loop()` 関数で、8x8の整数配列を作成し、`displayArray()` 関数を使用して表示します：\n\n```cpp\nint myArray[8][8] = {\n  {1, 0, 0, 1, 0, 0, 0, 0},\n  {0, 1, 1, 0, 0, 0, 0, 0},\n  {0, 1, 1, 0, 0, 0, 0, 0},\n  {1, 0, 0, 1, 0, 0, 0, 0},\n  {0, 0, 0, 0, 0, 0, 0, 0},\n  {0, 0, 0, 0, 0, 0, 0, 0},\n  {0, 0, 0, 0, 0, 0, 0, 0},\n  {0, 0, 0, 0, 0, 0, 0, 0}\n};\n\nvoid loop() {\n  visualizer.displayArray(myArray);\n  delay(1000);\n  visualizer.clear();\n  delay(1000);\n}\n```\n\n5. スケッチをArduinoボードにアップロードすると、配列がLEDマトリクスに表示されます。\n\n## APIリファレンス\n\n### `LEDArrayVisualizer(uint8_t dataPin, uint8_t clkPin, uint8_t csPin, uint8_t numDevices)`\n\nLEDArrayVisualizerクラスのコンストラクタ。\n\n- `dataPin`: LEDマトリクスに接続されているデータピン。\n- `clkPin`: LEDマトリクスに接続されているクロックピン。\n- `csPin`: LEDマトリクスに接続されているチップセレクトピン。\n- `numDevices`: 直列に接続されているLEDマトリクスデバイスの数。\n\n### `void begin()`\n\nLEDArrayVisualizerライブラリと、基盤となるMD_MAX72XXライブラリを初期化します。\n\n### `void displayArray(int arr[8][8])`\n\n8x8の整数配列をLEDマトリクスに表示します。\n\n- `arr`: 表示する8x8の整数配列。0はOFFピクセルを表し、非ゼロ値はONピクセルを表します。\n\n### `void clear()`\n\nLEDマトリクスのディスプレイをクリアし、すべてのピクセルをオフにします。\n\n## サンプル\n\nLEDArrayVisualizerライブラリの使用方法を示すサンプルスケッチは、ライブラリのディレクトリにある `examples` フォルダをご覧ください。\n\n## 依存関係\n\n- MD_MAX72XXライブラリ: https://github.com/MajicDesigns/MD_MAX72XX\n\n## ライセンス\n\nこのライブラリは、[MITライセンス](https://opensource.org/licenses/MIT)の下でリリースされています。\n\n## 貢献\n\n貢問題を見つけたり、改善のための提案がある場合は、[GitHubリポジトリ](https://github.com/your-username/LEDArrayVisualizer)でissueかプルリクエストを送信してください。\n\n\n\n## 謝辞\n\n- MD_MAX72XXライブラリ by Marco Colli\n- FC-16 LEDマトリクスモジュール","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmark0011astra%2Fledarrayvisualizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmark0011astra%2Fledarrayvisualizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmark0011astra%2Fledarrayvisualizer/lists"}