Skip to content

Instantly share code, notes, and snippets.

@sqrtofsaturn
Created April 17, 2015 22:43
Show Gist options
  • Save sqrtofsaturn/9156d6cd90b7ce20aa5d to your computer and use it in GitHub Desktop.
Save sqrtofsaturn/9156d6cd90b7ce20aa5d to your computer and use it in GitHub Desktop.
Function node configuration in the Octoblu designer
// First function node
msg.payload = {
"servo": "PWM0",
"value": 180,
"speed": 1000
};
return msg;
// Second function node
msg.payload = {
"servo": "PWM0",
"value": 0,
"speed": 1000
};
return msg;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment