Hi TJF,

I just managed to compile and run the libpruio example apps on beaglebone 
white PRU.

I was experimenting with the button.c, trying to set the pin 8_07 as active 
high, using ->

if (pruio_gpio_set(io, PIN, PRUIO_IN_0, PRUIO_LOCK_CHECK)) { 
    printf("failed setting PIN (%s)\n", io->Errr); break;}

But, when I compile and run it, I still see its '1'.

./analyse reveals->

P8_07, GPIO 2/02: input, pullup

Am I missing something?

Forgive me if this sounds like a stupid question. Please help.

Thanks and regards,
Shoaib Ahmed.

On Friday, June 6, 2014 3:38:38 PM UTC+4, TJF wrote:
>
> Version 0.0.2 is out now:
>
>    - added: new example button.bas (.c)
>    - bugfix: gpio_get() returns correct value now
>    - cosmetic: pruio_c_wrapper.h contains headers pruio.h and pruio.hp 
>    (all-in-one)
>    - cosmetic: minor changes in documentation
>
>
>

-- 
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