-
Notifications
You must be signed in to change notification settings - Fork 1k
The timer with external interrupt issue..... #283
New issue
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
Comments
Hi, could you be more precise, please. |
BluePill is the target. When change the pinMode to INPUT_PULLUP or INPUT_PULLDOWN, It's working........ |
And what is wired on PA1? and How? |
I guess in INPUT the voltage level is not proper (10k too high?) that's why the CHANGE level is not detect. |
I will test it and the results will be reported here. Thks. |
Yes! The resistor is to small..... |
When use the timer, The external interrupts not work.........
stimer_t timer1; // Timer1
void.....(){
timer1.handle.Instance = TIM1;
TimerPulseInit(&timer1, 417, 0, IsrTim1);
.
.
.
pinMode(PA1, INPUT);
attachInterrupt(PA1, rxPinChanged, CHANGE);
}
The timer interrupt working, But the external interrupts no work.
The text was updated successfully, but these errors were encountered: