I am trying to build a snake built up with multiple modules with their own arduinos. They each have a bluetooth module and servo connected. The servos output should generate a sine wave through the snake. I am trying to find a way to make the individual arduinos control their servo to provide an output depending on where there are in the snake using the bluetooth modules.