Hi,
This is my first post and I hope it is the right place.
My question is if I installed the real-time image you provided for PI b+, and used the following code to alter the status of GPIO pin inside a loop, would this loop be interrupted for long
time by other process? especially if I need a Hard real-time response.
Is there any statement I can add to make the code uninterrupted?
#include <bcm2835.h>
int main(…)
{
while (1)
{
digitalWrite(pinNumber, HIGH);
delayMicroseconds(10)
digitalWrite(pinNumber, LOW);
delayMicroseconds(10)
}
}
thanks in advance.