On Thu, Nov 10, 2016 at 2:14 AM, Neil Jubinville
<[email protected]> wrote:

> Calling the write function from the main loop results in the LED turning on
> however the function does not fire.
>
> static void turnOn(){
>    write_r30(0x1111);
> }
>
>
> static void turnOn(){
>    write_r30(0x0000);
> }
>
>
> int main(void){
>
>    turnOn();   // this does not work.
>

I think it's a simple typo---you have two turnOn() functions---it
looks to me that the second one should be called turnOff(). As it is,
I think you redefine the first turnOn with the second one, which
actually turns off the pin, so you see nothing. Does it make sense?

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAC%3D1GgEti53XjubcJ880hZ2OK32-5OVZzUpR%3DoMAqSbTwFh7Gg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to