view py/gpio.py @ 554:39540ddacdca

put more things inside "try"
author Matt Johnston <matt@ucc.asn.au>
date Mon, 08 Jun 2015 22:31:21 +0800
parents dd8895652485
children
line wrap: on
line source

try:
	from gpio_rpi import *
except ImportError:
	from gpio_test import *