To enable the one-wire interface you need to add the following line to /boot/config
dtoverlay=w1-gpio
ls /sys/bus/w1/devices/
n.b.Using w1-gpio on the RaspberryPi typically needs a 4.7 kΩ pull-up resistor connected between the GPIO pin and a 3.3v supply (e.g. header pin 1or17).Other means of connecting 1-Wire devices to the RaspberryPi are also possible, such asusing i2c to 1-Wire bridge chips.
One of the alternate functions selectable on bank 0 of the RaspberyPi GPIO is DPI. DPI (DisplayParallelInterface)is a 24-bit parallel interfacewith28 clock and synchronisation signals.
Thisinterface allows parallel RGB displays to be attached to the RaspberryPi GPIO either in RGB24 (8 bits for red, green and blue)or RGB666 (6 bits per colour)or RGB565 (5 bits red,6 green,and5 blue).Itis available as alternate function2(ALT2) on GPIO bank 0.
GeneralPurposeClock pins can be set up to output a fixed frequency without any ongoing software control.
The following clock sources are available:
7216MHz HDMI auxiliary
8-150HzGround
Other frequencies can be achieved by setting a clock-divider in the form of SOURCE/(DIV_I + DIV_F/4096).Note, that the BCM2835 ARM Peripherals document contains an error and states that the denominator of the divider is1024 instead of 4096.
BCM -Broadcom pin number, commonly called "GPIO", these are the ones you probably want to usewithRPi.GPIO and GPIO Zero
-OutputsandInputs-
-Pinout command -
A handy reference can be accessed on the RaspberryPiby opening a Terminal window and running the command:"pinout".This tool is provided by the GPIO ZeroPython library, which it is installed bydefault on the Raspbian desktop image, but not on RaspbianLite.