Help me achieving this effect through pinout

Help me fixing this..
Code updated still not working..