Git Product home page Git Product logo

Comments (5)

joan2937 avatar joan2937 commented on September 26, 2024

Yes. pigpio should work on all the current Pis (including the compute module).

from pigpio.

ha5di avatar ha5di commented on September 26, 2024

Thanks

from pigpio.

SlySven avatar SlySven commented on September 26, 2024

When you say:

Yes. pigpio should work on all the current Pis (including the compute module).

I am just starting to experiment with Pigpio and I am excited by the possibilities that it offers to a 'C' coder (who has virtually no experience of Python 🐍)!

Reading through the man pages first, as a responsible coder does, πŸ‘Ό : How does the code work when the range of usable GPIO pins on the Compute Module is nearly all the 120-odd total that the BCM2835 has - does the current code detect the platform is a Compute Module and allow all 120 pins to be used but on the other RPi products reject access to pins that are used "internally"?

from pigpio.

joan2937 avatar joan2937 commented on September 26, 2024

I don't know how many pins the compute module has.

It has the same number of GPIO (54) as all the other Pis - however on the compute module you have physical access to all 54 GPIO.

GPIO 0-31 are fully supported by pigpio - sampling at up to 1 MHz, callbacks, PWM generation, waveforms. The other GPIO (32-53) are restricted to the other functions (read/write/set mode/get mode, hardware clock, hardware PWM etc.).

from pigpio.

SlySven avatar SlySven commented on September 26, 2024

Ah further checking on the Farnell website here and here reveals that there are definitely 45 free GPIO pins (Of two more, GPIO 46 is HDMI detect and 47 seems to be used to control booting from the on-board Flash and for the "Activity" LED) - I guess that a naked BCM2835 device core may have 120 pins but the remainder are tied up in the HDMI interface, 2x RPi camera interfaces (each with a I2C bus BTW!), 2x RPi display and a composite video (no audio) output.

from pigpio.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.