Back to Parent

Process

To get the two microcontrollers to communicate with each other and trigger each other's functions, webhooks needed to be set up on the particle console for each board. These webhooks would listen(subscribe to) for a specific event published by the particle board with the specific access token set upon creation, and publish a string (a function name in this case) that the board is in turn listening for to trigger that function (LED blinking in this case). As such, setting up two boards to publish and subscribe to each other via webhooks required that their access tokens be traded, and you had to make sure that the events they were subscribed to were all spelled and published the same for communication to occur properly.


Content Rating

Is this a good/useful/informative piece of content to include in the project? Have your say!

0