View previous topic :: View next topic |
Author |
Message |
ahmadkamalnasir
Joined: 24 Nov 2009 Posts: 5
|
Quadrature Encoder Interface |
Posted: Sun Nov 29, 2009 3:44 pm |
|
|
Hi,
In the manual following functions are defined but no library support or device header files contains the definitions.
1- qei_set_count()
2- qei_get_count()
3- qei_status()
4- setup_qei( )
I am not sure whether this feature is missing for kept for the future release
N.B.:
Could you provide some example program for PIC18F2431 QEI in position and/or velocity mode. |
|
 |
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Sun Nov 29, 2009 5:17 pm |
|
|
I don't think those functions are implemented by CCS yet. I checked
it for the 18F4331 with compiler vs. 4.101 and the compiler did not
recognize the setup_qei() function.
Here is a 3-page thread where they implement it by writing directly
to the PIC registers:
http://www.ccsinfo.com/forum/viewtopic.php?t=31720 |
|
 |
SoBot
Joined: 20 Apr 2010 Posts: 9
|
Quadrature encoder module |
Posted: Tue Apr 20, 2010 8:38 am |
|
|
Do you know if these Quadrature Eencoder module functions has by any chance been implimented in the meantime? |
|
 |
dyeatman
Joined: 06 Sep 2003 Posts: 1953 Location: Norman, OK
|
|
Posted: Tue Apr 20, 2010 9:41 am |
|
|
I just checked and setup_qei() is not recognized by 4.106 for the 18F4331 _________________ Google and Forum Search are some of your best tools!!!! |
|
 |
|