CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

Quadrature Encoder Interface

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ahmadkamalnasir



Joined: 24 Nov 2009
Posts: 5

View user's profile Send private message Visit poster's website

Quadrature Encoder Interface
PostPosted: Sun Nov 29, 2009 3:44 pm     Reply with quote

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 Exclamation Question

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

View user's profile Send private message

PostPosted: Sun Nov 29, 2009 5:17 pm     Reply with quote

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

View user's profile Send private message

Quadrature encoder module
PostPosted: Tue Apr 20, 2010 8:38 am     Reply with quote

Do you know if these Quadrature Eencoder module functions has by any chance been implimented in the meantime?
dyeatman



Joined: 06 Sep 2003
Posts: 1914
Location: Norman, OK

View user's profile Send private message

PostPosted: Tue Apr 20, 2010 9:41 am     Reply with quote

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!!!!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group