farmbot v6.0.0 Farmbot.CeleryScript.Types View Source
Common types for shared CeleryScript Nodes.
Link to this section Summary
Types
X | Y | Z
Ast in the shaps of:
%Ast{
kind: "coordinate",
args: %{x: int, y: int, z: int},
body: []
}
Integer representing an X coord
The literal string X
Integer representing an Y coord
The literal string Y
Integer representing an X coord
The literal string Z
Ast in the shape of:
%Ast{
kind: "explanation",
args: %{message: binary},
body: []
}
Ast in the shape of:
%Ast{
kind: "nothing",
args: %{},
body: []
}
usually either farmbot_os | arduino_firmware but will also be things
like
Ast in the shape of:
%Ast{
kind: "pair",
args: %{label: binary, value: any},
body: []
}
Integer representing digital (0) or pwm (1)
Integer representing a pin on the arduino
Link to this section Types
X | Y | Z
coord_ast() :: %Farmbot.CeleryScript.Ast{args: coord_args, body: [], comment: term, kind: binary}
Ast in the shaps of:
%Ast{
kind: "coordinate",
args: %{x: int, y: int, z: int},
body: []
}
Integer representing an X coord.
The literal string X
Integer representing an Y coord.
The literal string Y
Integer representing an X coord.
The literal string Z
Ast in the shape of:
%Ast{
kind: "explanation",
args: %{message: binary},
body: []
}
explanation_ast() :: %Farmbot.CeleryScript.Ast{args: expl_ast_args, body: [], comment: term, kind: binary}
nothing_ast() :: %Farmbot.CeleryScript.Ast{args: %{}, body: [], comment: term, kind: binary}
Ast in the shape of:
%Ast{
kind: "nothing",
args: %{},
body: []
}
usually either farmbot_os | arduino_firmware but will also be things
like:
- Farmware Names
- Sync resources.
Ast in the shape of:
%Ast{
kind: "pair",
args: %{label: binary, value: any},
body: []
}
Integer representing digital (0) or pwm (1)
Integer representing a pin on the arduino.