Class ComputeModuleGpioExample


  • public class ComputeModuleGpioExample
    extends Object
    This example code demonstrates how to setup a listener for all available GPIO pins on the following boards: - RaspberryPi Compute Module 1 (CM1) - RaspberryPi Compute Module 3 (CM3) - RaspberryPi Compute Module 3 Plus (CM3+) NOTE: THE COMPUTE MODULE 4 (CM4) DOES NOT SUPPORT THE SAME 45 GPIO PINS PROVIDED BY 'RCMPin'. THE CM4 SHOULD USE THE STANDARD 'RaspiPin' SET.
    Author:
    Robert Savage