{
    "ok": true,
    "data": {
        "title": "RPI-RGB-LED-Matrix(English)",
        "rev_id": 723,
        "updated_at": "2015-07-21T04:57:56+00:00",
        "chunk_count": 9,
        "chunks": [
            {
                "title": "RPI-RGB-LED-Matrix(English)",
                "rev_id": 723,
                "heading_path": "",
                "chunk_index": 0,
                "content": "# RPI-RGB-LED-Matrix(English)",
                "char_count": 29,
                "token_estimate": 8
            },
            {
                "title": "RPI-RGB-LED-Matrix(English)",
                "rev_id": 723,
                "heading_path": "Description",
                "chunk_index": 1,
                "content": "The Matrix LED module is specifically designed for Raspberry Pi. The module can control each color of pixel in this 8X8 Matrix .You can program the contents with raspberry Pi,and The contents include time ,characters or binary pictures.You should Pay attention,This module should not be used alone .you should use it cooperate with 595 IO expand module for Raspberry <img src=\"8x8_01.jpg\" title=\"8x8_01.jpg\" width=\"600\" alt=\"8x8_01.jpg\" \/>",
                "char_count": 439,
                "token_estimate": 110
            },
            {
                "title": "RPI-RGB-LED-Matrix(English)",
                "rev_id": 723,
                "heading_path": "Technical Details",
                "chunk_index": 2,
                "content": "|             Type             |           Value           |\n|:----------------------------:|:-------------------------:|\n|             Name             | RPI-RGB-LED-Matrix Module |\n|      screen resolution       |            8X8            |\n|         Pixel Array          |            8×8            |\n|         diplay scale         |          60x60MM          |\n|         module scale         |        60x60x17mm         |\n|         Pixel Pitch          |           2.5MM           |\n|          Pixel Size          |         5.0×5.0MM         |\n|         work voltage         |            5V             |\n|      Luminous Intensity      |           40mcd           |\n|     Forward Current(Max)     |           25mA            |\n|  Peak Forward Current(Max)   |           100mA           |\n|    Power Dissipation(Max)    |           100mW           |\n| Lead Solder Temperature(Max) |    260℃ for 5 seconds     |",
                "char_count": 914,
                "token_estimate": 229
            },
            {
                "title": "RPI-RGB-LED-Matrix(English)",
                "rev_id": 723,
                "heading_path": "Overview",
                "chunk_index": 3,
                "content": "<img src=\"8x8_02.jpg\" title=\"8x8_02.jpg\" width=\"700\" alt=\"8x8_02.jpg\" \/>\n<img src=\"8x8_03.jpg\" title=\"8x8_03.jpg\" width=\"700\" alt=\"8x8_03.jpg\" \/>\n<img src=\"8x8_04.jpg\" title=\"8x8_04.jpg\" width=\"700\" alt=\"8x8_04.jpg\" \/>\n<img src=\"8x8_05.jpg\" title=\"8x8_05.jpg\" width=\"700\" alt=\"8x8_05.jpg\" \/>",
                "char_count": 291,
                "token_estimate": 73
            },
            {
                "title": "RPI-RGB-LED-Matrix(English)",
                "rev_id": 723,
                "heading_path": "product scale",
                "chunk_index": 4,
                "content": "<img src=\"8x8_06.png\" title=\"8x8_06.png\" width=\"1000\" alt=\"8x8_06.png\" \/>",
                "char_count": 73,
                "token_estimate": 19
            },
            {
                "title": "RPI-RGB-LED-Matrix(English)",
                "rev_id": 723,
                "heading_path": "schematic",
                "chunk_index": 5,
                "content": "<img src=\"Pic2.png\" title=\"Pic2.png\" width=\"1000\" alt=\"Pic2.png\" \/>",
                "char_count": 67,
                "token_estimate": 17
            },
            {
                "title": "RPI-RGB-LED-Matrix(English)",
                "rev_id": 723,
                "heading_path": "Learn",
                "chunk_index": 6,
                "content": "WARNING:To lighten this LED-Matrix you should have our another module [ RPI-595-IO-Expand Module](RPI-595-IO-Expand_Module(English) \"wikilink\")\n\n-   To use this Matrix board ,you need to install wiringPi library , This page will show you how to install wiringPi. <http:\/\/wiringpi.com\/download-and-install\/>\n\n<!-- -->\n\n-   If you are done install the wiringPi and enabling I2C interface, type the following code in the console to build a .c file\n\n`sudo vim.tiny RGB8x8.c`\n![](8x8_tech2.png \"8x8_tech2.png\")\n\n-   Copy and paste the following [demo code](#tech1 \"wikilink\") into RGB8x8.c\n\n![](8x8_tech1.png \"8x8_tech1.png\")\n\n-   Under the vim.tiny editor, type \":\", then type \"wq\" and press \"enter\" to save the RGB8x8.c file and exit editor\n\n![](8x8_tech4.png \"8x8_tech4.png\")\n\n-   Next you need to compile the code using gcc. Type `gcc RGB8x8.c -lwiringPi -o RGB8x8` in the console to compile the .c file\n\n![](8x8_tech3.png \"8x8_tech3.png\")\n\n-   Lastly, type `sudo .\/RGB8x8 -g 0 1`,to load the executable file ,and in the matrix board you will find the green LED on line 0,row 1 is turned on as the following photo shows.\n\n![](8x8_tech5.png \"8x8_tech5.png\")",
                "char_count": 1155,
                "token_estimate": 289
            },
            {
                "title": "RPI-RGB-LED-Matrix(English)",
                "rev_id": 723,
                "heading_path": "示例代码说明",
                "chunk_index": 7,
                "content": "#include <stdio.h>\n    #include <wiringPi.h>\n    #include <sr595.h>\n\n    int main(int argc, char *argv[])\n    {\n        int j;\n        long long k;\n        wiringPiSetup();\n        sr595Setup(100, 32, 12, 14, 10);\n        for(j = 0; j < 32; j++)\n        {\n          pinMode(100 + j, OUTPUT);\n        }\n          for(j = 0; j < 8; j++)\n        {\n          digitalWrite(100 + j, 1);\n        }\n          for(j = 0; j < 8; j++)\n        {\n          digitalWrite(116 + j, 1);\n        }\n          for(j = 0; j < 8; j++)\n        {\n          digitalWrite(108 + j, 1);\n        }\n       if(argc < 3)\n        {\n           printf(\"Summary:lunch -[rgb] x_point y_point \\n\");\n           printf(\"Example:lunch -r 0 5 \\nDraw Red Point At X=0 Y=5 \\n\");\n        }\n        if(argc > 1 && strcmp(argv[1], \"-b\") == 0)\n        {\n           digitalWrite(atoll(argv[2]) + 100, 0);\n        }\n        if(argc > 1 && strcmp(argv[1], \"-g\") == 0)\n        {\n           digitalWrite(atoll(argv[2]) + 108, 0);\n        }\n        if(argc > 1 && strcmp(argv[1], \"-r\") == 0)\n        {\n           digitalWrite(atoll(argv[2]) + 116, 0);\n        }\n        digitalWrite(124 + atoll(argv[3]), 1);\n    }",
                "char_count": 1160,
                "token_estimate": 290
            },
            {
                "title": "RPI-RGB-LED-Matrix(English)",
                "rev_id": 723,
                "heading_path": "附件",
                "chunk_index": 8,
                "content": "[1306-0.91-CODE.zip](1306-0.91-CODE.zip \"wikilink\")\n[2088RGBMatrix.pdf](2088RGBMatrix.pdf \"wikilink\")\n如对此页的规则或教程有意见者，可到[此网页或是在](Minecraft_Wiki_talk:wiki编辑手册 \"wikilink\")[管理员Powup333的讨论页留言](User_talk:Powup333 \"wikilink\")。",
                "char_count": 219,
                "token_estimate": 99
            }
        ]
    }
}