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 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
Post a Comment