Modification du la bibliothèque de base
Fork of Encoder_Nucleo_32_bits by
Revision 2:916d277f09a1, committed 2017-06-04
- Comitter:
- haarkon
- Date:
- Sun Jun 04 15:13:39 2017 +0000
- Branch:
- Haarkon_Way
- Parent:
- 1:e82009479b5c
- Commit message:
- Same as original without debugging Printf
Changed in this revision
Nucleo_Encoder_16_bits.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e82009479b5c -r 916d277f09a1 Nucleo_Encoder_16_bits.cpp --- a/Nucleo_Encoder_16_bits.cpp Thu May 26 16:21:43 2016 +0000 +++ b/Nucleo_Encoder_16_bits.cpp Sun Jun 04 15:13:39 2017 +0000 @@ -6,7 +6,7 @@ { if(TIM2->SR & 0x0001) { - printf("Overflow Routine"); + //printf("Overflow Routine"); TIM2->SR &= 0xfffe; if(!(TIM2->CR1&TIM_CR1_DIR)) Soft_32_Counter_TIM2 += 0xffff; @@ -19,7 +19,7 @@ { if(TIM3->SR & 0x0001) { - printf("Overflow Routine"); + //printf("Overflow Routine"); TIM3->SR &= 0xfffe; if(!(TIM3->CR1&TIM_CR1_DIR)) Soft_32_Counter_TIM3 += 0xffff; @@ -31,7 +31,7 @@ { if(TIM4->SR & 0x0001) { - printf("Overflow Routine"); + //printf("Overflow Routine"); TIM4->SR &= 0xfffe; if(!(TIM4->CR1&TIM_CR1_DIR)) Soft_32_Counter_TIM4 += 0xffff; @@ -43,7 +43,7 @@ { if(TIM5->SR & 0x0001) { - printf("Overflow Routine"); + //printf("Overflow Routine"); TIM5->SR &= 0xfffe; if(!(TIM5->CR1&TIM_CR1_DIR)) Soft_32_Counter_TIM5 += 0xffff;