You could be the first to test out the new WiringPi Library 3.0 https://github.com/WiringPi/WiringPi
max frequency is ~20 MHz @ Pi5/RP1.
so try setting it 20 times, i guess (sleeping may be not accurate enough)
but what you really need is PWM Function on RP1 (not implemented so far)
PS: all other library are way too slow for that![Laughing :lol:]()
max frequency is ~20 MHz @ Pi5/RP1.
so try setting it 20 times, i guess (sleeping may be not accurate enough)
Code:
wiringPiSetupGpio();pinMode(17, OUTPUT);while(true){for (i=1;i<=20;i++) { DigitalWrite(17, HIGH); }for (i=1;i<=20;i++) { DigitalWrite(17, LOW); }}
PS: all other library are way too slow for that

Statistics: Posted by evil — Thu Feb 29, 2024 4:04 pm