This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Turn on a led using registers



Hi.

Now a few days i have made a program using API's function : if i push a button (SW1) turn on a led (green led).

In this moment i try to do the same program using registers. 

I dont understand where i am wrong.