Jennic Wireless Microcontrollers

Buy Online divider divider Register divider Login divider Site Map divider Contact divider Home

Forum: Application Development

Login to subscribe to this thread via email
 
Odd behavior with vAHI_DioSetDirection

I've just started playing with the Jennic 5139 modules, and as a hello world app I wrote a simple LED scanner.

The LEDs are connected to the following DIO lines: 0, 1, 2, 3, 8, 9, 10, 11, 13, 14.

So, I issue:

vAHI_DioSetDirection(0, 0x6F0F);

however, the LEDs do not light when I go to scan them.

Interestingly enough, if I instead issue:

vAHI_DioSetDirection(0, 0x7F0F);

the code does work as expected.

I'm sure I'm missing something obvious - any help would be appreciated.


Posted by: Deece Friday 24th July, 2009 at 9:53am
JN51xx_15_4-main_2.c
Reply To this Message Quote this Message

TopicPost TopicAdd a Post TopicQuote post as a basis for post Topic6 posts to this Forum since Tuesday, 27th July 2010

There are currently 298 people using the Forum out of a total of 2916 registered users