Show Posts
Pages: [1]
1  Products / Arduino Due / Re: Arduino Due Access Port on: December 18, 2012, 04:00:06 am
yep this does it. this code will blink leds connected to pins 5 and 6 on the board. Thanks all for your help and pointing me in the right direction. But i feel it would be great if Arduino itself could give support to access a port as a whole atleast if not in the due in the other arduino's as well so that we can easily output a byte or a nibble of data in parallel where required (correct me if i'm wrong assuming there is no support for such fucntioniality in arduino yet).

void setup()
{  REG_PIOC_OER=0x03000000;
  REG_PIOC_OWER=0x03000000;
}


void loop()
{
  REG_PIOC_ODSR=0x03000000;
delay(2000);
REG_PIOC_ODSR=0x00000000;
delay(2000);

}
2  Products / Arduino Due / Re: Arduino Due Access Port on: December 17, 2012, 12:33:19 pm
@stimmer i guess the second option is better connecting wires all over the place like in the first option will be a little irritating.

Thanks,
Tarun
3  Products / Arduino Due / Re: Arduino Due Access Port on: December 17, 2012, 11:42:53 am
@Graynomad  Thanks a lot. Went through the header file and i found the required registers. Will give it a try and get back. Should do the work.

Tarun
4  Products / Arduino Due / Re: Arduino Due Access Port on: December 17, 2012, 12:34:12 am
I understand that it is a 32 bit uC but if i wanted to output a byte of data in parallel what is the best way to do it without having to write a seperate function to seperate the byte into bits and then outputting seperately using digitalwrite for each pin. Any help would be very useful.
Thanks
5  Products / Arduino Due / Arduino Due Access Port on: December 16, 2012, 11:56:28 am
Hi Guys,
Have a small doubt regarding the Due? How do we access the port to output a byte of data in parallel not using the serial port. Searched a lot but couldn't find a answer.

Thanks,
Tarun
6  Products / Arduino Due / Re: Arduino Due and Galaxy Nexus Problem with ADK on: November 26, 2012, 01:40:17 am
Yea i saw that thread too. But cannot get it to work at all. Even in that thread there were other people facing the same problem with the G Nexus i.e. It was not recognizing the board and was only charging. Hopefully somebody has got it work or has a solution to this?
7  Products / Arduino Due / Arduino Due and Galaxy Nexus Problem with ADK on: November 25, 2012, 12:44:30 pm
Hey guys,
I am trying to get the Arduino due to work with my Galaxy Nexus(Android v4.2). The sketch i am using is the example given with the arduino 1.5 bundle. The app installed is the one provided by the link in the sketch. The Nexus is only charging and is not recognizing the Due connected to it. Has anybody got it to work with the Nexus or any other device.

Thanks,
Tarun
Pages: [1]