Go Down

Topic: Regarding Arduino due Registry mapping (Read 592 times) previous topic - next topic

roshancheluva

To make Pin 6 to High we write PORTH|=_BV(PH3) in mega ,how can we make the pin 6 high Arduino due board,i tried with this

REG_PIOC_SODR|=(0*01<<24) //FOR MAKING PIN 6 HIGH

REG_PIOC_CODR|=(0*01<<24) //FOR MAKING PIN 6 LOW
roshan g

ghlawrence2000

Basic rules of maths here 0*ANYTHING = 0!!

Regards,

Graham
UTFT_SdRaw now included in library manager!! ;) High speed image drawing from SD card to UTFT displays for Mega & DUE.
UTFT_GHL - a VASTLY upgraded version of UTFT_CTE. Coming soon to a TFT near you! 8) Shipping April 1 2016!

Go Up