why the pin 7 of arduino of end device does not give any output when in case 1?