LubanCat IoT N6 Pinout



CN3



CN4

libgpiod

libgpiod is an attempt to bring Arduino-wiring-like simplicity to the LubanCat.

The goal is to have a single common platform and set of functions for accessing the LubanCat GPIO across multiple languages. libgpiod is a C library at heart, but it's available to both Ruby and Python users who can "gem install libgpiod" or "pip install libgpiod" respectively.

Python users note the 2 on the end, the libgpiod-Python library finally brings a whole host of existing libgpiod functionality to Python including brand new features from libgpiod 2.

libgpiod uses its own pin numbering scheme, here you'll learn how libgpiod numbers your GPIO pins, what those pins do and how to do shiny things with them from within Python or Ruby.

Installing to Python couldn't be easier, just:

sudo pip install libgpiod

For more information about libgpiod you should visit the official libgpiod website.

Details