{"description":"////////// // gpiod\u3067L\u30c1\u30ab // g++ -Wall -o gpiodtest gpiodtest01.cpp -l gpiod ////////// #include <stdio.h> #include <unistd.h> #include <gpiod.h> #include <iostream> int main() { struct gpiod_chip *gchip; struct gpiod_line *glineout; bool j = false; // GPIO\u30c7\u30d0\u30a4\u30b9\u3092\u958b\u304f gchip = gpiod_chip_open(\"/dev/gpiochi\u2026","provider_name":"Hatena Blog","url":"https://rott1st.hatenablog.com/entry/2025/03/25/140039","width":"100%","categories":["Raspberry Pi","C/C++"],"published":"2025-03-25 14:00:39","blog_url":"https://rott1st.hatenablog.com/","version":"1.0","author_url":"https://blog.hatena.ne.jp/rott1st/","image_url":"https://cdn.image.st-hatena.com/image/square/adad63b72f1d6545b2ba2538c3fc2923b2fd5989/backend=imagemagick;height=80;version=1;width=80/https%3A%2F%2Fcdn.blog.st-hatena.com%2Fimages%2Fcircle%2Fofficial-circle-icon%2Fcomputers.gif","title":"C++ + gpiod\u3067L\u30c1\u30ab","author_name":"rott1st","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frott1st.hatenablog.com%2Fentry%2F2025%2F03%2F25%2F140039\" title=\"C++ + gpiod\u3067L\u30c1\u30ab - mahler.jp Programming Tips Blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","blog_title":"mahler.jp Programming Tips Blog","type":"rich"}