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 139 matches
CCS Forum Index
Author Message
  Topic: What language do you use for PC-side programs?
kevcon

Replies: 18
Views: 24102

PostForum: General CCS C Discussion   Posted: Thu Oct 18, 2007 6:25 am   Subject: What language do you use for PC-side programs?
I currently use C# and am looking to switch to Java to allow for a broader platform support.
  Topic: Hexa command sending problem
kevcon

Replies: 5
Views: 7413

PostForum: General CCS C Discussion   Posted: Mon Oct 01, 2007 12:32 pm   Subject: Hexa command sending problem
I doubt it is a problem with the part, it's more likely that your PC's baudrate is slightly off, or your crystal is not exactly 4Mhz

Try a slower baudrate like 1200


Give this a try too.


# ...
  Topic: Hexa command sending problem
kevcon

Replies: 5
Views: 7413

PostForum: General CCS C Discussion   Posted: Mon Oct 01, 2007 11:14 am   Subject: Hexa command sending problem
How is it not working exactly?

Are you getting an error message when you compile?



I'm using 4.038 and have no problems.
  Topic: Hexa command sending problem
kevcon

Replies: 5
Views: 7413

PostForum: General CCS C Discussion   Posted: Mon Oct 01, 2007 9:43 am   Subject: Hexa command sending problem
try


printf( "\r" );
  Topic: How to control Parani ESD-200 Bluetooth Module w/ pic18f452
kevcon

Replies: 2
Views: 7616

PostForum: General CCS C Discussion   Posted: Thu Sep 27, 2007 7:45 am   Subject: How to control Parani ESD-200 Bluetooth Module w/ pic18f452
Does anyone know how to write the AT commands to the module using the pic?


This is kind of like asking how to make a sandwich. There are a million different ways to do it, and the way you do it d ...
  Topic: LED MESSAGE DISPLAY
kevcon

Replies: 35
Views: 49266

PostForum: General CCS C Discussion   Posted: Wed Sep 26, 2007 12:59 pm   Subject: LED MESSAGE DISPLAY
Judging from his previous pots, it looks like he's trying to leach some code for what is most likely a school project.

Now, if he was to post his circuit and code that he has written I sure there a ...
  Topic: Can CCS be made more stable inside of MPLAB..?
kevcon

Replies: 7
Views: 9127

PostForum: General CCS C Discussion   Posted: Wed Sep 26, 2007 12:38 pm   Subject: Can CCS be made more stable inside of MPLAB..?
Try up grading to MPLAB 7.62, it's a bit more stable than 7.60 but still crashes randomly.

There are several psts about this, do a search and there are instructions about downgrading.
  Topic: Problem with compiler
kevcon

Replies: 4
Views: 5117

PostForum: General CCS C Discussion   Posted: Tue Sep 25, 2007 12:07 pm   Subject: Problem with compiler
I think anything after version 7.5 has problems with crashing and it varies from system to system on how much it crashes. I am running 7.62 and it crashes 3 or 4 times a day, mostly when I'm trying to ...
  Topic: Problem with compiler
kevcon

Replies: 4
Views: 5117

PostForum: General CCS C Discussion   Posted: Tue Sep 25, 2007 11:46 am   Subject: Problem with compiler
What version of MPLAB are you using?
  Topic: Code how to drive 40-Segment LED Bar Display Board
kevcon

Replies: 7
Views: 8082

PostForum: General CCS C Discussion   Posted: Thu Sep 13, 2007 2:51 pm   Subject: Code how to drive 40-Segment LED Bar Display Board
Dude,

there is PIC code right in the datasheet what more do you need?
  Topic: Linear actuator - Sinusoidal motion
kevcon

Replies: 6
Views: 7931

PostForum: General CCS C Discussion   Posted: Thu Sep 13, 2007 7:39 am   Subject: Linear actuator - Sinusoidal motion
Since index2 is unsigned the answer is no.

but if you change your loop to.


for(index2=14; index2 != 0xFFFF ; --index2)


it should work
  Topic: trouble getting 16 bits from timer0 and timer1
kevcon

Replies: 11
Views: 10235

PostForum: General CCS C Discussion   Posted: Mon Sep 10, 2007 6:59 am   Subject: trouble getting 16 bits from timer0 and timer1
Clearing the SYNC bit helped in my situation as per the ERRATA for my chip.

Silly me too for thinking the compiler would handle it correctly, I should know better by now.


tatokash,

When you ...
  Topic: trouble getting 16 bits from timer0 and timer1
kevcon

Replies: 11
Views: 10235

PostForum: General CCS C Discussion   Posted: Fri Sep 07, 2007 2:29 pm   Subject: trouble getting 16 bits from timer0 and timer1
That may be true, but either it doesn't work or the compiler is doing something goofy.

The code in the while loop never sends anything to hyper terminal with 16bit reads enabled, but it does when 1 ...
  Topic: trouble getting 16 bits from timer0 and timer1
kevcon

Replies: 11
Views: 10235

PostForum: General CCS C Discussion   Posted: Fri Sep 07, 2007 1:11 pm   Subject: trouble getting 16 bits from timer0 and timer1
Try disabling the 16bit reads and writes, the compiler turns them on by default.



#pragma byte T1CON = getenv( "SFR:T1CON" )
#pragma bit T1RD16 = T1CON.7


setup_timer_ ...
  Topic: MPLAB crash
kevcon

Replies: 4
Views: 5589

PostForum: General CCS C Discussion   Posted: Fri Sep 07, 2007 8:03 am   Subject: MPLAB crash
7.62 is much more stable than 7.60, I can run it for hours sometimes with out it crashing.
 
Page 1 of 10 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group