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.
Dependencies: mbed TrapezoidControl Pulse QEI
Encoder.cpp
00001 #include "Encoder.h" 00002 #include "mbed.h" 00003 00004 const int PerRev = 256; 00005 00006 QEI encoder[] = { 00007 QEI(ECD_A_0,ECD_B_0,NC,PerRev,QEI::X4_ENCODING), 00008 QEI(ECD_A_1,ECD_B_1,NC,PerRev,QEI::X4_ENCODING), 00009 QEI(ECD_A_2,ECD_B_2,NC,PerRev,QEI::X4_ENCODING), 00010 QEI(ECD_A_3,ECD_B_3,NC,PerRev,QEI::X4_ENCODING), 00011 }; 00012 00013 namespace ENCODER { 00014 00015 00016 00017 void ECD::Initialize() { 00018 00019 } 00020 }
Generated on Sun Jul 17 2022 15:33:12 by
