Module Expr Str ImportFrom alias ImportFrom alias Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore Str Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args defaults body Pass decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign NameStore Dict NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Num decorator_list Expr Call NameLoad NameLoad NameLoad
N/A N/A 
 phant_test.py 
 Rekha Seethamraju

 An example to demonstrate the use of the PhantStream library
 for PyBBIO.
 It reads from the analog pin and posts onto a phant data stream 
 to a field called voltage every 10s.

 This example program is in the public domain.


To use the PhantStream library:
make a steam on the phant server https://data.sparkfun.com/streams/make
or install phant on the bbb and get the public key, private key and the url
call - 
PhantStream("*public key*",(optional)"*private key*",(optional)"*url*")
if the stream is being hosted on Spark Fun's server, it can be left blank. 

For additional information read the wiki page.
https://github.com/alexanderhiam/PyBBIO/wiki/PhantStream
 bbio * bbio.libraries.IoT.phant PhantStream N/A pot AIN0 N/A field_name voltage N/A public_key N/A private_key N/A p N/A PhantStream public_key private_key setup N/A N/A N/A N/A N/A N/A loop N/A N/A N/A N/A N/A val N/A analogRead pot N/A v N/A inVolts val N/A samples N/A field_name v N/A N/A N/A p send samples N/A N/A delay 10000 N/A N/A N/A run setup loop