rasProject_01 / weSweetHome  R. 240
process control       /     RasPi software         by   weinert-automation
Loading...
Searching...
No Matches
config_raspberry_01.h File Reference

Configuration settings for Raspberry Pi1. More...

Macros

#define GPIO2pin
 GPIO [0..39] to pin number (1..40) lookup list. More...
 
#define PIN03
 SDA0 (GPIO 02 on other Pis)
 
#define PIN05
 SCL0 (GPIO 03 on other Pis)
 
#define PIN13
 GPIO 21 (GPIO 27 on other Pis)
 
#define PIN2gpio
 Pin number [0..26] to GPIO number lookup list. More...
 
#define stdUARTpath
 /def stdUARTpath Pi's standard UART. More...
 

Detailed Description

Configuration settings for Raspberry Pi1.

This file contains some platform (type) specific definitions. These settings influence the compilation and build process. Most of those settings can not be changed later at runtime.

Since end 2017 we mostly use Pi3.

Copyright (c) 2019 Albrecht Weinert
weinert-automation.de a-weinert.de
/ / /\
/ /___ / \ |
\ /____\ /____\ | _|__
\ /\ / \ / \| |
\/ \/ \__/ \__/|_

Revision history

Rev. 255 29.10.2023
Rev. 190 12.02.2019 : minor, comments only
Rev. 209 10.07.2019 : stdUARTpath
Rev. 231 13.08.2020 : two digit PIN0x and GPIO2pin added
#define stdUARTpath
/def stdUARTpath Pi's standard UART.
Definition: config_raspberry_00.h:86

Macro Definition Documentation

◆ GPIO2pin

#define GPIO2pin

GPIO [0..39] to pin number (1..40) lookup list.

0 means has no pin on the 40 pin connector; see also gpio2pin

◆ PIN2gpio

#define PIN2gpio

Pin number [0..26] to GPIO number lookup list.

0..56: GPIO number; 95: 5V pin; 93: 3.3V; 90: Ground 0V;
99 means not existent. N.b.: [1..26] are: valid pin numbers, only.

See also
pin2gpio

◆ stdUARTpath

#define stdUARTpath

/def stdUARTpath Pi's standard UART.

It is the one on the Pins 8 (GPIO14) for Tx and 10 (GPIO15) for Rx.