Go Down

Topic: port manipulation in Arduino DUE (Read 498 times) previous topic - next topic


I am using arduino DUE and trying some port manipulations on this board but it is not working. I mean it is not generating any outputs. Initially i was using codes for mega but then i found that DUE has totally different architecture and then i did the right way or you tell me is this right or wrong...

Code: [Select]

REG_PIOD_SODR = 0x1 << 7;

i wanted pin 11 to be high so i did this, according to the pin mapping i found in this forum as the no. was D.7 for pin no 11.

My question is that, is there any other way to do it or any declarations or #includes are needed since i am not getting errors on compilation so please guide me...?

Go Up