Class: TwoWire

IO# TwoWire

new TwoWire(begin_cb)

Name Type Description
begin_cb Callback_0

Methods

available(){function}

Type Description
Void
Returns:
Name Type Description
function
Integer

begin(arg0){function}

Name Type Description
arg0 Integer optional
Returns:
Name Type Description
function
Void

beginTransmission(arg0){function}

Name Type Description
arg0 Integer
Returns:
Name Type Description
function
Void

endTransmission(arg0){function}

Name Type Description
arg0 Integer optional
Returns:
Name Type Description
function
Integer
Type Description
Void
Returns:
Name Type Description
function
Void

onReceive(arg0){function}

Name Type Description
arg0 Callback_1
Returns:
Name Type Description
function
Void

onRequest(arg0){function}

Name Type Description
arg0 Callback_2
Returns:
Name Type Description
function
Void

onService(){function}

Type Description
Void
Returns:
Name Type Description
function
Void
Type Description
Void
Returns:
Name Type Description
function
Integer
Type Description
Void
Returns:
Name Type Description
function
Integer

requestFrom(arg0, arg1, arg2){function}

Name Type Description
arg0 Integer
arg1 Integer
arg2 Integer optional
Returns:
Name Type Description
function
Integer

write(arg0, arg1){function}

Name Type Description
arg0 Integer | Array | String | Object
arg1 Integer optional
Returns:
Name Type Description
function
Integer