Can you provide raspberry pi3 coding for led blink?

can you provide raspberry pi3 coding for led blink experiment?how do it differ from pi2 coding?,i tried with pi2 codes which are available in community but getting errors while executing.

Did you tried with the code posted in this post? The code between RPI 2 and 3 should be the same.

Please, post any error you get so I can help you in debugging the problem.

when i used mmapGpio library for led blink experiment i got the same error obtained by
Mr.Motasm and Manicoh
and i also tried with wiringPi by going threw the post in community but i still got an error as follows
wiringPiSetup:Must be root.(Did you forget sudo?)

Kindly help me with this.

Try to watch the video on youtube