Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of ARAI45th by
Revision 2:4b2594dd86be, committed 2016-09-01
- Comitter:
- choutin
- Date:
- Thu Sep 01 09:19:34 2016 +0000
- Parent:
- 1:10cc86cabdce
- Child:
- 3:56b034c41dc5
- Commit message:
- a
Changed in this revision
| locate.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/locate.h Thu Sep 01 08:53:14 2016 +0000
+++ b/locate.h Thu Sep 01 09:19:34 2016 +0000
@@ -48,8 +48,8 @@
enc_v = 1;
//counting on both A&B inputs, 4 ticks per cycle, 16-bit count
- //use PA8 PA9 = Nucleo D7 D8
- EncoderInit(&encoder1, &timer1, TIM1, 0xffff, TIM_ENCODERMODE_TI12);
+ //use PB6 PB7 = Nucleo D7 D8
+ EncoderInit(&encoder1, &timer1, TIM4, 0xffff, TIM_ENCODERMODE_TI12);
//counting on both A&B inputs, 4 ticks per cycle, 16-bit count
//use PA0 PA1 = Nucleo A0 A1
