We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I made the following code, but it only outputs 333khz not 500khz :
while(1){ //make blink on pin E0 PIN_E0_HIGH(); udelay(1); PIN_E0_LOW(); udelay(1); }
can you fix it sir
The text was updated successfully, but these errors were encountered:
I have a very simple implementation of udelay. Change this function: void udelay (u32 us) { for(u32 tmp = ctr_us + us; ctr_us < tmp; ) {}; }
Sorry, something went wrong.
I have used this code, with avs timer init just make 300khz void udelay (u32 us) { for(u32 tmp = ctr_us + us; ctr_us < tmp; ) {}; }
and if I use timer0 the result is worse under 200khz
No branches or pull requests
I made the following code, but it only outputs 333khz not 500khz :
can you fix it sir
The text was updated successfully, but these errors were encountered: