annotate py/gpio.py @ 238:509a1be16456

gevent doesn't work well with subprocess
author Matt Johnston <matt@ucc.asn.au>
date Sun, 10 May 2015 21:13:49 +0800
parents d9e81a563923
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
228
d9e81a563923 porting to asyncio
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 try:
d9e81a563923 porting to asyncio
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2 from gpio_rpi import *
d9e81a563923 porting to asyncio
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3 except ImportError:
d9e81a563923 porting to asyncio
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4 from gpio_test import *