The code for generating a clock on GPIO 6 (clk2) does not output the correct frequency


Its is no where near the value, my logic analyzer is showing about 680Khz range

enter image description here

I know that the pin is capable of generating the clock since i tested it with another code and it can spit out the correct frequency. anyone know why this is happening?

Also what clock source is the pigpio library using? how do i switch clock source?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.