So I have a BeagleBone Black board (Debian distro), and I want to be able to set some GPIO pin from a lowvalue to a high value.
For achieving this I'm using the BlackLib [1] library (a C++ library that offers general access to all beaglebone's pins). That library haves a class called BlackGPIO that offers the functionality that I want. BlackLib::BlackGPIO NSLP_pin(BlackLib::GPIO_61, BlackLib::output, BlackLib::SecureMode); auto NSLP_pinMode = NSLP_pin.getValue(); NSLP_pin.setValue(BlackLib::high); I expect that this lines of code will set the signal from a low value to a high one (the signal is low by default). The problem is that the signal goes high only for about ~10ms (measured on a scope), and after that it goes low again. What I do wrong? How can I set the some GPIO pin at a certain value, and remain like that until I change it? [1] link <http://blacklib.yigityuce.com/classBlackLib_1_1BlackGPIO.html>. -- 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/139dd924-dcd7-43e0-8a79-89e1ecc5c5ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
