Salman, bear with me, as I know very little about QNX. If you could explain
how you identified, and set the pin to input. That might help us better
answer your question. WIth Debian, there are a few options, but no idea
which of these options, if any are available with QNX.

On Fri, Jul 3, 2015 at 10:57 AM, Max <[email protected]> wrote:

> If the pin acts as the input then it should read an external state. I
> would configure this pin as the output and then write 0/1 to a necessary
> bit position
>
> Отправлено с iPad
>
> 3 июля 2015 г., в 19:02, Salman Feroze <[email protected]>
> написал(а):
>
> Hey guys,
>
> I am relatively new in this forum, so please bear with me if the questions
> I ask would sound unintelligent. I am currently working with the Beagle
> Bone Black that is running QNX RTOS. I am trying to get my head around this
> board by developing simple programs such as turning ON an external LED that
> is connected to the board. So far, I have manage to identify a GPIO pin and
> set it to be an input using the data direction register (DDR) function.
> However, I am unable to move on from here.
>
> Since I have enabled the pin to act as input, how would I be able to use
> it to turn ON an LED? What should be my next step be?
>
> Any input/suggestion would be much appreciated.
>
> --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to