WebIOPi on Raspberry 2

If you have the newer Raspberry Pi 2 and want to run WebIOPi on it you’ll need to make a change.

From the command line interface go to your home directory:

cd /home/pi

cd WebIOPi-0.7.1  or  WebIOPi-0.7.0 depending on which version you are using. d

cd python/native

nano gpio.c

Change “#define BCM2708_PERI_BASE 0x20000000” to “#define BCM2708_PERI_BASE 0x3f000000”

Ctrl – X , save and exit. Reboot.


Leave a Reply