Handler

class ardurpc.handler.Handler(connector=None, handler_id=None, name=None)[source]

Handler base class.

__weakref__

list of weak references to the object (if defined)

_call(command_id, fmt=None, *data)[source]

Execute a command on the microcontroller.

Parameters:
  • command_id (Integer) – The ID of the command
  • fmt (String) – The format of the data
  • data – Parameters for the command
Returns:

Returns the result