Package nxt :: Module brick :: Class Brick

Class Brick

source code

object --+
         |
        Brick

Main object for NXT Control

Nested Classes
  __metaclass__
Metaclass which adds one method for each telegram opcode
Instance Methods
 
__init__(self, sock)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
play_tone_and_wait(self, frequency, duration) source code
 
bluetooth_factory_reset(self, *args, **kwargs) source code
 
boot(self, *args, **kwargs) source code
 
close(self, *args, **kwargs) source code
 
close_module_handle(self, *args, **kwargs) source code
 
delete(self, *args, **kwargs) source code
 
delete_user_flash(self, *args, **kwargs) source code
 
find_first(self, *args, **kwargs) source code
 
find_next(self, *args, **kwargs) source code
 
get_battery_level(self, *args, **kwargs) source code
 
get_current_program_name(self, *args, **kwargs) source code
 
get_device_info(self, *args, **kwargs) source code
 
get_firmware_version(self, *args, **kwargs) source code
 
get_input_values(self, *args, **kwargs) source code
 
get_output_state(self, *args, **kwargs) source code
 
keep_alive(self, *args, **kwargs) source code
 
ls_get_status(self, *args, **kwargs) source code
 
ls_read(self, *args, **kwargs) source code
 
ls_write(self, *args, **kwargs) source code
 
message_read(self, *args, **kwargs) source code
 
message_write(self, *args, **kwargs) source code
 
open_append_data(self, *args, **kwargs) source code
 
open_read(self, *args, **kwargs) source code
 
open_read_linear(self, *args, **kwargs) source code
 
open_write(self, *args, **kwargs) source code
 
open_write_data(self, *args, **kwargs) source code
 
open_write_linear(self, *args, **kwargs) source code
 
play_sound_file(self, *args, **kwargs) source code
 
play_tone(self, *args, **kwargs) source code
 
poll_command(self, *args, **kwargs) source code
 
poll_command_length(self, *args, **kwargs) source code
 
read(self, *args, **kwargs) source code
 
read_io_map(self, *args, **kwargs) source code
 
request_first_module(self, *args, **kwargs) source code
 
request_next_module(self, *args, **kwargs) source code
 
reset_input_scaled_value(self, *args, **kwargs) source code
 
reset_motor_position(self, *args, **kwargs) source code
 
set_brick_name(self, *args, **kwargs) source code
 
set_input_mode(self, *args, **kwargs) source code
 
set_output_state(self, *args, **kwargs) source code
 
start_program(self, *args, **kwargs) source code
 
stop_program(self, *args, **kwargs) source code
 
stop_sound_playback(self, *args, **kwargs) source code
 
write(self, *args, **kwargs) source code
 
write_io_map(self, *args, **kwargs) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, sock)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)