jetson-gpio | A Python library that enables the use of Jetson 's GPIOs | Machine Learning library

 by   NVIDIA Python Version: v2.1.1 License: MIT

kandi X-RAY | jetson-gpio Summary

kandi X-RAY | jetson-gpio Summary

jetson-gpio is a Python library typically used in Artificial Intelligence, Machine Learning, Jupyter applications. jetson-gpio has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install jetson-gpio' or download it from GitHub, PyPI.

A Python library that enables the use of Jetson's GPIOs
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              jetson-gpio has a low active ecosystem.
              It has 711 star(s) with 232 fork(s). There are 37 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 4 open issues and 68 have been closed. On average issues are closed in 34 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of jetson-gpio is v2.1.1

            kandi-Quality Quality

              jetson-gpio has 0 bugs and 0 code smells.

            kandi-Security Security

              jetson-gpio has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              jetson-gpio code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              jetson-gpio is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              jetson-gpio releases are not available. You will need to build from source code and install.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              Installation instructions, examples and code snippets are available.
              jetson-gpio saves you 806 person hours of effort in developing the same functionality from scratch.
              It has 1984 lines of code, 126 functions and 19 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed jetson-gpio and discovered the below as its top functions. This is intended to give you an instant insight into jetson-gpio implemented functionality, and help decide if they suit your requirements.
            • Block until an edge is received
            • Set the edge to the given edge
            • Return the edge of a gpio event
            • Return the gpio event object
            • Get all gpio data
            • Determine the device type
            • Find the plugin manager associated with a given prefix
            • Return a list of compatible compatibles
            • Poll main thread
            • Return the gpio event object associated with the file
            • Return the key of the gpio object key
            • Setup the given channels
            • Get channel configuration
            • Convert a list of channels to infos
            • Wait for an edge
            • Add an edge detection
            • Adds an event detection
            • Cleanup all channels
            • Removes the edge detection
            • Add an event callback
            • Output the given values to the given values
            • Exports the pwm file
            • Read from the GPIO channel
            • Return the edge event detected on the given channel
            • Returns the gpio function for the given channel
            • Stop the pin
            Get all kandi verified functions for this library.

            jetson-gpio Key Features

            No Key Features are available at this moment for jetson-gpio.

            jetson-gpio Examples and Code Snippets

            sha1 32 - bit implementation
            javascriptdot img1Lines of Code : 12dot img1License : Permissive (MIT License)
            copy iconCopy
            function hashCode524287Shifting32bitSafe(key) {
              const str = key.toString();
              var hash = 0;
              if (str.length == 0) return hash;
              for (i = 0; i < str.length; i++) {
                hash = (hash << 19) - hash;
                hash = hash + str.codePointAt(i);
                  

            Community Discussions

            QUESTION

            how to setup gpio pins in GPIO.TEGRA_SOC mode vs GPIO.BCM mode using Jetson nano GPIO?
            Asked 2020-Apr-05 at 07:09

            while finding a number of examples on how to setup gpio using GPIO.BCM mode (in which pins numbers are equivalent to RPI (see image and nvidia/jetson-gpio), I could not find an example to setup pins in GPIO.TEGRA_SOC mode. so after digging into the gpio library I thought I would share this in an orderly fashion. see answer below.

            ...

            ANSWER

            Answered 2020-Apr-05 at 07:09

            BCM mode, defining pins 9 (signal from nano out. e.g. trigger) and 11 (signal from sensor into the nan0) -

            Source https://stackoverflow.com/questions/61039191

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install jetson-gpio

            You may clone this git repository, or download a copy of it as an archive file and decompress it. You may place the library files anywhere you like on your system. You may use the library directly from this directory by manually setting PYTHONPATH, or install it using setup.py:.

            Support

            The L4T documentation may be available in the following locations:.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/NVIDIA/jetson-gpio.git

          • CLI

            gh repo clone NVIDIA/jetson-gpio

          • sshUrl

            git@github.com:NVIDIA/jetson-gpio.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link