more work done to the arduino code for broadcasting messages