Module Expr Str Import alias alias Import alias identifier Import alias Assign NameStore AttributeLoad NameLoad attr If BoolOpOr CompareEq NameLoad Num CompareEq NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Num orelse Assign NameStore Call AttributeLoad NameLoad attr Num ClassDef bases body Assign NameStore NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults Num body Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Assign NameStore BinOpBitOr BinOpLShift BinOpBitAnd SubscriptLoad NameLoad Index Num Num Num SubscriptLoad NameLoad Index Num Return NameLoad decorator_list decorator_list If CompareEq NameLoad Str body Assign NameStore Call NameLoad While NameLoad body Print Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num
N/A N/A 
## License

The MIT License (MIT)

GrovePi for the Raspberry Pi: an open source platform for connecting Grove Sensors to the Raspberry Pi.
Copyright (C) 2015  Dexter Industries

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
 N/A time sys N/A RPi.GPIO GPIO N/A smbus N/A rev N/A GPIO RPI_REVISION N/A N/A N/A rev 2 N/A rev 3 N/A N/A bus N/A N/A smbus SMBus 1 N/A N/A bus N/A N/A smbus SMBus 0 ADC N/A N/A N/A address None N/A REG_ADDR_RESULT 0 N/A REG_ADDR_ALERT 1 N/A REG_ADDR_CONFIG 2 N/A REG_ADDR_LIMITL 3 N/A REG_ADDR_LIMITH 4 N/A REG_ADDR_HYST 5 N/A REG_ADDR_CONVL 6 N/A REG_ADDR_CONVH 7 __init__ N/A N/A self address N/A 85 N/A N/A N/A self address address N/A N/A N/A bus write_byte_data N/A self address N/A self REG_ADDR_CONFIG 32 N/A adc_read N/A N/A self N/A N/A N/A data N/A N/A bus read_i2c_block_data N/A self address N/A self REG_ADDR_RESULT 2 N/A raw_val N/A N/A N/A N/A data N/A 0 15 8 N/A data N/A 1 N/A raw_val N/A N/A N/A N/A __name__ __main__ N/A N/A adc N/A ADC N/A True N/A N/A N/A N/A adc adc_read N/A N/A N/A time sleep 0.5