Hi Tony,
Just use usleep() (or any other C standard sleep function) instead of delay(). That is the easier part. Gpiolib does exactly which you mention and much more. If your purpose is re-write gpiolib and call it WiringPi... I think it is like reinventing the wheel. I'm using the Pi5 with the sBitx, and it is just great!
- Rafael
toggle quoted message
Show quoted text
On 1/28/24 09:36, Tony Abbey wrote:
Hi Rafael
Thanks for the advice on gpiod. Yes I did read the readme, but hoping it didn't matter! Looking on the Rpi forums, I see that people are programming the RP1 chip to get gpio.
I'll have to look see how you have supported the delay function of wiringpi, as well.
Tony