[beagleboard] PulseIn function

2016-10-23 Thread Arthur Caio
Hey everyone, I have a project with a LM555 timer and need to calculate how much time it takes for an input to go from LOW to HIGH and then to LOW again. Basically, I want to know the period of a square wave generated by the LM555 timer. I did it with Arduino using the function Pulseln. But

[beagleboard] pulsein

2016-10-23 Thread Arthur Caio
Hey everyone, I have a project with a LM555 timer and need to calculate how much time it takes for an input to go from LOW to HIGH and then to LOW again. Basically, I want to know the period of a square wave generated by the LM555 timer. I did it with Arduino using the function Pulseln. But

[beagleboard] Time beween pulses

2016-10-19 Thread Arthur Caio
Hello you all! I need to calculate hot much time it takes for an input to go from LOW to HIGH and then to LOW again. Basically, I want to know the period of a square wave generated by the LM555 timer. I am using Qt Creator and programming in C++. I am having trouble at programming this code