Module Expr Str Import alias Import alias identifier Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr Num If SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list AttributeLoad NameLoad attr decorator_list
N/A N/A Abstraction for communicating with i2c servo cape by Sean Ketring
 N/A time N/A bot.lib.lib lib N/A smbus ServoCape N/A object N/A N/A Protocol:
    Cape expects to recieve a 6 byte array
    if the first byte is 0x00
        next 5 bytes are servo angles.
    otherwise the number of a demo.
     __init__ N/A N/A self cape_config N/A N/A N/A Initialize vars N/A N/A self logger N/A N/A lib get_logger N/A N/A self bot_config N/A N/A lib get_config N/A N/A self bus N/A N/A smbus SMBus N/A cape_config N/A i2c_bus N/A N/A self addr N/A cape_config N/A i2c_addr N/A N/A self reg 255 N/A N/A N/A N/A self bot_config N/A test_mode N/A servo_cape N/A N/A N/A N/A N/A self logger debug running in test mode N/A N/A N/A N/A N/A self logger debug non test-mode, real hardware N/A transmit_block N/A N/A self array N/A N/A N/A N/A N/A N/A N/A N/A self bus write_i2c_block_data N/A self addr N/A self reg array N/A N/A N/A IOError N/A err N/A N/A N/A N/A N/A self logger debug err N/A err N/A N/A lib api_call N/A