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 100 matches
CCS Forum Index
Author Message
  Topic: Compiler warning..... [Solved]
John Morley

Replies: 11
Views: 15246

PostForum: General CCS C Discussion   Posted: Tue Jun 25, 2013 2:43 pm   Subject: Compiler warning..... [Solved]
Hi All,

I solved the issue I was having. In the subroutine in question, I had an alternate 'Return' statement in the case of a buffer overflow. This Return
did not return an argument as it should ...
  Topic: Compiler warning..... [Solved]
John Morley

Replies: 11
Views: 15246

PostForum: General CCS C Discussion   Posted: Mon Jun 24, 2013 8:28 am   Subject: Compiler warning..... [Solved]
Hi TTelmah,

I tried to compile your small test program, and it compiles fine with no warnings. For the most part I don't use function prototypes, I just arrange
my code so that they aren't needed ...
  Topic: Compiler warning..... [Solved]
John Morley

Replies: 11
Views: 15246

PostForum: General CCS C Discussion   Posted: Mon Jun 24, 2013 8:07 am   Subject: Compiler warning..... [Solved]
Hi Gabriel,

I should have mentioned that I already tried that, and the warning still persisted!

I also tried a slightly different form for returning the desired value, and the warning still pers ...
  Topic: Compiler warning..... [Solved]
John Morley

Replies: 11
Views: 15246

PostForum: General CCS C Discussion   Posted: Mon Jun 24, 2013 7:15 am   Subject: Compiler warning..... [Solved]
Hi All,

PCH Compiler: v4.121

I have created a function that seems to work just fine, but is generating a compiler warning at compile time. The warning is telling me that my
function is not Voi ...
  Topic: Robust USB Bootloader.....???
John Morley

Replies: 3
Views: 5271

PostForum: General CCS C Discussion   Posted: Wed Jun 12, 2013 12:01 pm   Subject: Robust USB Bootloader.....???
Hi Dan,

Thanks for the tip, that looks very promising!! I got everything installed and working, but didn't actually get it working due to the differences in
configuration bits between the bootloa ...
  Topic: Robust USB Bootloader.....???
John Morley

Replies: 3
Views: 5271

PostForum: General CCS C Discussion   Posted: Tue Jun 11, 2013 1:36 pm   Subject: Robust USB Bootloader.....???
Hi,

Can anyone point me in the direction of a robust USB bootloader for use with the CCS compiler? I've been playing around with 'ex_usb_bootloader.c' for a couple of days now, and it sure leaves a ...
  Topic: Unable to call and compare integer in pic18f4620
John Morley

Replies: 1
Views: 3497

PostForum: General CCS C Discussion   Posted: Thu Jun 14, 2012 9:28 am   Subject: Unable to call and compare integer in pic18f4620
Hi,

The formatting of your code is really ugly and non-standard, so I didn't even bother to try to follow the logic. You might want to clean it up first before posting because other members will pr ...
  Topic: Having trouble getting 8x2 LCD working with 16F689
John Morley

Replies: 3
Views: 6852

PostForum: General CCS C Discussion   Posted: Thu Apr 12, 2012 6:41 am   Subject: Having trouble getting 8x2 LCD working with 16F689
Hi PCM,

OK, that was it! Your original hunch was correct!

This code solved my LCD problem:


#byte ANSEL = 0x11e

//========================================
void main()
{ ...
  Topic: Having trouble getting 8x2 LCD working with 16F689
John Morley

Replies: 3
Views: 6852

PostForum: General CCS C Discussion   Posted: Thu Apr 12, 2012 6:30 am   Subject: Having trouble getting 8x2 LCD working with 16F689
Hi PCM,

I suspect that you are on to something here, but unfortunately my version of the compiler wasn't happy with that fix. The two added lines of code, added in the locations you indicated, resu ...
  Topic: Having trouble getting 8x2 LCD working with 16F689
John Morley

Replies: 3
Views: 6852

PostForum: General CCS C Discussion   Posted: Wed Apr 11, 2012 4:24 pm   Subject: Having trouble getting 8x2 LCD working with 16F689
Hi All,

I recently upgraded an existing design from a 16F648A to a 16F689 because I needed a couple of additional I/O, and I wanted to take advantage of the higher speed internal oscillator availab ...
  Topic: PIC16F887 code help needed--- for C in CCS
John Morley

Replies: 21
Views: 30783

PostForum: General CCS C Discussion   Posted: Wed Feb 08, 2012 6:51 pm   Subject: PIC16F887 code help needed--- for C in CCS
Hi Rems,

First of all, why did you start a THIRD thread on this problem?? Your style will quickly alienate people, and you won't get any help before long.....

Based on that now locked thread, he ...
  Topic: Sending control codes to a thermal printer....
John Morley

Replies: 4
Views: 7320

PostForum: General CCS C Discussion   Posted: Tue Jan 10, 2012 1:43 pm   Subject: Sending control codes to a thermal printer....
Hi,

It's not a connection or baud rate issue as I'm able to successfully print text data to the printer. There are several configuration settings, however, such as the amount of time the print head ...
  Topic: Sending control codes to a thermal printer....
John Morley

Replies: 4
Views: 7320

PostForum: General CCS C Discussion   Posted: Tue Jan 10, 2012 11:18 am   Subject: Sending control codes to a thermal printer....
Hi All,

I'm having some trouble sending control codes to a thermal printer. The documentation says I need to send the following:

ASCII: ESC 7 N1 N2 N3

or

Decimal: 27 55 N1 N2 N3


I tri ...
  Topic: 18F2550 timing problem....
John Morley

Replies: 2
Views: 4562

PostForum: General CCS C Discussion   Posted: Thu Sep 22, 2011 2:02 pm   Subject: 18F2550 timing problem....
Hi Ttelmah,

It looks like your advise was spot on - the main oscillator was apparently not starting reliably! After thinking about that for a while, a similar occurrence about 6 months ago came to ...
  Topic: 18F2550 timing problem....
John Morley

Replies: 2
Views: 4562

PostForum: General CCS C Discussion   Posted: Thu Sep 22, 2011 7:09 am   Subject: 18F2550 timing problem....
Hi All,

I'm working on an 18F2550 based project, which has been plagued by an intermittent timing problem. Some of the time the project works exactly as expected (USB connectivity is working, and a ...
 
Page 1 of 7 Goto page 1, 2, 3, 4, 5, 6, 7  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group