I'm having some weirdness that I don't quite understand.  I'm trying to 
just toggle a GPIO pin (GPIO30) on and off using C and just the file 
subsystem.  Everything seems to work if there is a delay between the fseek 
and the fwrite.  See this pastebin for the relevant code 
http://pastebin.com/Ftvv0nvE.  As it is, it works.  If you uncomment the 
code, instead of creating a square wave on the oscilloscope, it just 
creates pulse spikes (i.e. short on times).  Can someone explain what is 
happening?  I'm working off a stock BeagleBone Black, no updates (I wanted 
to make sure the code worked on all versions, as people would be getting 
their BBB and trying it directly).

Paul Tan.
http://exadler.blogspot.com
http://exadler.com

-- 
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/groups/opt_out.

Reply via email to