GPIO.RPI_REVISION - Raspberry Pi Forums


i purchased beaglebone black. testing python code uses following:

if gpio.rpi_revision == 1 <<---causes error msg , stops code executing.

rest of code seems work fine.

have latest wheezy installed. using 512 pi board.
researched , every article says above code snippet should run fine.
driving me nuts!!!

if can appreciate it.

stan

'if' starts code block - need ':' @ end of line ?


raspberrypi



Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial