Hardware Reference
In-Depth Information
client = bridgeclient()
client.begin()
current_val = 0
while True :
try :
val = client.get('counter')
print val
time.sleep( 1 )
except ( KeyboardInterrupt , SystemExit ):
client.close()
raise
Now you can run this file into Terminal.
$ python hello.py
If success, you get the output, shown in Figure below.
Search WWH ::




Custom Search