Skip to content
/ rpi Public
forked from xenonymdotcom/rpi

Raspberry Pi Public code

Notifications You must be signed in to change notification settings

df3xc/rpi

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry PI direct GPIO access using C / C# programming language

Raspberry Pi Public code

Direct GPIO access for Raspberry 2, 3 and 4 C Library and C# Wrapper Library

The Periphal Base Register depends on RPI Model

Comment/uncomment based on your RPI model

// RPI Model B+ V1.2 (2014)

//#define BCM2708_PERI_BASE 0x20000000

// RPI 3 Model B+ (2017)

//#define BCM2708_PERI_BASE 0x3F000000

// RPI 4 Model B (2018)

#define BCM2708_PERI_BASE 0xFE000000

Releases

No releases published

Packages

No packages published

Languages

  • C# 69.1%
  • C 27.2%
  • Makefile 3.7%