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 CCS Technical Support

Search found 46 matches
CCS Forum Index
Author Message
  Topic: question regarding DAC and TIMER2 in PIC16F1783
andyfraser

Replies: 8
Views: 8064

PostForum: General CCS C Discussion   Posted: Wed Dec 12, 2012 7:37 am   Subject: question regarding DAC and TIMER2 in PIC16F1783
How long do you think it will take to execute all that code in the ISR - less that 25us ?

I think you need to look at pre-computing your values and putting them into a lookup table if you have any ...
  Topic: pic24 series 12 or 15 pin tris setting or pin calibration ?
andyfraser

Replies: 5
Views: 7308

PostForum: General CCS C Discussion   Posted: Wed Aug 01, 2012 6:24 am   Subject: pic24 series 12 or 15 pin tris setting or pin calibration ?
You gave 'us' an example in your first post Very Happy
  Topic: CCS PCD with MPLAB X, V1.2 compile errors
andyfraser

Replies: 5
Views: 9575

PostForum: General CCS C Discussion   Posted: Wed Jul 04, 2012 6:30 am   Subject: CCS PCD with MPLAB X, V1.2 compile errors
Rather than globally turning off syntax checking, I would create a header file with prototypes for the CCS functions you are using. That would at least remove the warnings from your code.

Andy
  Topic: mplab x halts on first warning
andyfraser

Replies: 2
Views: 4433

PostForum: General CCS C Discussion   Posted: Wed Jun 06, 2012 6:31 am   Subject: mplab x halts on first warning
You should post this question here:http://www.microchip.com/forums/f238.aspx

Though frankly, I find the current version of MPLAB-X unusable with CCS compilers due to the bug you have found and the ...
  Topic: Problem with char table defined in header file
andyfraser

Replies: 5
Views: 6636

PostForum: General CCS C Discussion   Posted: Thu Apr 19, 2012 6:30 am   Subject: Problem with char table defined in header file
This is also a shocking example of how to use the RDA interrupt.
It needs to be short and quick you should not be getting a complete string nor should you be calling printf from within this interrupt ...
  Topic: MPLAB X v1.00 && CCS | Build Problem
andyfraser

Replies: 3
Views: 4824

PostForum: General CCS C Discussion   Posted: Tue Dec 20, 2011 7:44 am   Subject: MPLAB X v1.00 && CCS | Build Problem
Are you using the latest beta release (7.12) as I seem to recall having a similar issue a few versions ago.
I am having no problems with the latest release with CCS C.

Andy
  Topic: help, writing the 2 mode currency converter
andyfraser

Replies: 4
Views: 5796

PostForum: General CCS C Discussion   Posted: Tue Nov 22, 2011 7:21 am   Subject: help, writing the 2 mode currency converter
Also, can you spot the trend ?

z = 48, p = 0
z = 49, p = 1
z = 50, p = 2

How about p = z - 48 ?

Andy
  Topic: CCS Now supported in MPLAB X
andyfraser

Replies: 7
Views: 12507

PostForum: General CCS C Discussion   Posted: Mon May 02, 2011 1:48 pm   Subject: CCS Now supported in MPLAB X
Apparently MPLAB X works the same way as the original MPLAB so it should pick up your installed compiler tools automatically - it did for me !

You should also note that it appears that you need a b ...
  Topic: PICkit2+18F4580
andyfraser

Replies: 2
Views: 3251

PostForum: General CCS C Discussion   Posted: Tue Feb 02, 2010 7:45 am   Subject: PICkit2+18F4580
Hi,

Your if statement reads (in English), if fok is greater than 10 OR fok is less than 35 then....

So, if fok = 20 then fok is less than 35 and if fok = 255 then fok is greater than 10 !

I t ...
  Topic: shift_left problem
andyfraser

Replies: 2
Views: 4816

PostForum: General CCS C Discussion   Posted: Sun Nov 08, 2009 5:55 pm   Subject: shift_left problem
Hi,

You are getting the error because you are trying to access the variable ram as an array (ram[0]) but you have defined it as an 8-bit integer. Are you trying to check if bit 0 is a 1 ?
If so yo ...
  Topic: please help me the arduino code translate ccs c code.
andyfraser

Replies: 5
Views: 9766

PostForum: General CCS C Discussion   Posted: Thu Nov 05, 2009 11:37 am   Subject: please help me the arduino code translate ccs c code.
Point taken, I should have spent more than 10 seconds reading the OP's post. Apologies to sinan for my terse reply Crying or Very sad
  Topic: get_string for RFID
andyfraser

Replies: 15
Views: 17804

PostForum: General CCS C Discussion   Posted: Thu Nov 05, 2009 10:47 am   Subject: get_string for RFID
You should always add ERRORS to your #use RS232 line to ensure that any errors do not lock up the RS232 receive.

Andy
www.sharpcontrols.net :: Free custom controls for .NET
  Topic: please help me the arduino code translate ccs c code.
andyfraser

Replies: 5
Views: 9766

PostForum: General CCS C Discussion   Posted: Wed Nov 04, 2009 6:53 pm   Subject: please help me the arduino code translate ccs c code.
If you spend 10 minutes reading the CCS manual you should have no problem converting this to CCS code.

Andy
www.sharpcontrols.net :: Free custom controls for .NET
  Topic: Graphical LCD F-51373GNC-LW-AJ
andyfraser

Replies: 6
Views: 6017

PostForum: General CCS C Discussion   Posted: Tue Nov 03, 2009 5:47 pm   Subject: Graphical LCD F-51373GNC-LW-AJ
If you read the forum PCM Programmer gave you the link to then you will see that a PIC is not powerful enough nor contains the memory required to drive a graphics LCD with that resolution.

Andy
ww ...
  Topic: Strange problem with RS232, SPI and booting linux
andyfraser

Replies: 8
Views: 5910

PostForum: General CCS C Discussion   Posted: Thu Oct 29, 2009 5:30 pm   Subject: Strange problem with RS232, SPI and booting linux
I would put a scope on the TX line from the PC to see if during boot Linux sends data. It may be that Linux looks for a modem on the port by sending an AT command which might mess up your PIC code ?
...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group