Check diagram parameters

1.    Right-click on each block and check that the parameter values are set correctly.

2.    The Channel parameter for the Digital  Output for Arduino block is incorrectly set to 2. Set it to 5, which corresponds to Uno Pin 13, the built-in LED.

3.    Generate code to run on the Arduino.

4.    Press the pushbutton on the sensor.

The built-in LED now blinks each time you press the pushbutton.