Click or drag to resize

MUNTS_0018RaspberryPi Class

This class provides designators specific to the 64-Bit Raspberry Pi Zero 2 W interface computer.
Inheritance Hierarchy
SystemObject
  IO.Objects.SimpleIO.PlatformsMUNTS_0018RaspberryPi

Namespace: IO.Objects.SimpleIO.Platforms
Assembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.356.1
Syntax
C#
public static class RaspberryPi

The MUNTS_0018RaspberryPi type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAnalogInputFactory Analog input object factory for the on-board analog inputs at connectors J10 and J11.
Public methodStatic memberButtonInputFactory GPIO pin object factory for the on-board button switch at SW1.
Public methodStatic memberGPIOPinFactory GPIO pin object factory for GPIO pins at connectors J4 to J7.
Public methodStatic memberI2CBusFactory I2C bus object factory for the on-board I2C bus at connector J9.
Public methodStatic memberLEDOutputFactory GPIO pin object factory for the on-board LED at D1.
Public methodStatic memberMotorOutputFactory Motor output object factory for the on-board motor outputs at connectors J6 and J7.
Public methodStatic memberServoOutputFactory Servo output object factory for the on-board servo outputs at headers J2 and J3.
Top
Fields
 NameDescription
Public fieldStatic memberD1 GPIO pin Designator for the on-board LED D1.
Public fieldStatic memberJ10A0 Analog input Designator for Analog Input Grove Connector J10 pin A0 (MCP3204 input CH2.
Public fieldStatic memberJ10A1 Analog input Designator for Analog Input Grove Connector J10 pin A1 (MCP3204 input CH3.
Public fieldStatic memberJ11A0 Analog input Designator for Analog Input Grove Connector J11 pin A0 (MCP3204 input CH0.
Public fieldStatic memberJ11A1 Analog input Designator for Analog Input Grove Connector J11 pin A1 (MCP3204 input CH1.
Public fieldStatic memberJ2PWM Servo position PWM output Designator for Servo Header J2.
Public fieldStatic memberJ3PWM Servo position PWM output Designator for Servo Header J3.
Public fieldStatic memberJ4D0 GPIO pin Designator for Digital I/O Grove Connector J4 pin D0.
Public fieldStatic memberJ4D1 GPIO pin Designator for Digital I/O Grove Connector J4 pin D1.
Public fieldStatic memberJ5D0 GPIO pin Designator for Digital I/O Grove Connector J5 pin D0.
Public fieldStatic memberJ5D1 GPIO pin Designator for Digital I/O Grove Connector J5 pin D1.
Public fieldStatic memberJ6D0 GPIO pin Designator for DC Motor Driver Grove Connector J6 pin D0.
Public fieldStatic memberJ6D1 GPIO pin Designator for DC Motor Driver Grove Connector J6 pin D1.
Public fieldStatic memberJ6DIR Motor direction GPIO output pin Designator for DC Motor Driver Grove Connector J6.
Public fieldStatic memberJ6DIR_MD13S Motor direction GPIO output pin Designator for DC Motor Driver Grove ConnectorJ6 as configured for the Cytron MD13S Grove motor driver board.
Public fieldStatic memberJ6PWM Motor speed PWM output Designator for DC Motor Driver Grove Connector J6.
Public fieldStatic memberJ6PWM_MD13S Motor speed PWM output Designator for DC Motor Driver Grove Connector J6 as configured for the Cytron MD13S Grove motor driver board.
Public fieldStatic memberJ7D0 GPIO pin Designator for DC Motor Driver Grove Connector J7 pin D0.
Public fieldStatic memberJ7D1 GPIO pin Designator for DC Motor Driver Grove Connector J7 pin D1.
Public fieldStatic memberJ7DIR Motor direction GPIO output pin Designator for DC Motor Driver Grove Connector J6.
Public fieldStatic memberJ7DIR_MD13S Motor direction GPIO output pin Designator for DC Motor Driver Grove ConnectorJ7 as configured for the Cytron MD13S Grove motor driver board.
Public fieldStatic memberJ7PWM Motor speed PWM output Designator for DC Motor Driver Grove Connector J7.
Public fieldStatic memberJ7PWM_MD13S Motor speed PWM output Designator for DC Motor Driver Grove Connector J7 as configured for the Cytron MD13S Grove motor driver board.
Public fieldStatic memberJ9I2C I2C bus Designator for /dev/i2c-1 on I2C Grove Connector J9.
Public fieldStatic memberSW1 GPIO pin Designator for the on-board momentary switch SW1.
Top
Remarks
The following device tree overlay commands must be added to /boot/config.txt:
C#
dtoverlay=anyspi,spi0-1,dev="microchip,mcp3204",speed=1000000
dtoverlay=pwm-2chan,pin=12,func=4,pin2=19,func2=2
See Also