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 204 matches
CCS Forum Index
Author Message
  Topic: servos.c
ljbeng

Replies: 1
Views: 4591

PostForum: General CCS C Discussion   Posted: Fri Sep 14, 2012 4:00 pm   Subject: servos.c
I do not understand what servos.c is doing.

It looks like it is just on/off to the servo. Go cc or go ccw.

I need to make the servo go to xx% of its run and stop. Can servos.c do this?

Than ...
  Topic: Checking Parity in INT_RDA
ljbeng

Replies: 3
Views: 33560

PostForum: Code Library   Posted: Wed Aug 15, 2012 9:16 am   Subject: Checking Parity in INT_RDA
If parity is good then rx9d will equal parc. If those don't match, I increment srerror and return. If they do match, I add the character to the rcvbuff array.
  Topic: Checking Parity in INT_RDA
ljbeng

Replies: 3
Views: 33560

PostForum: Code Library   Posted: Wed Aug 08, 2012 8:50 am   Subject: Checking Parity in INT_RDA
Search tags:
Check Parity
How to check parity
parity in interrupt
INT_RDA parity

I searched for help here but never found this exact routine. Trial and error got me to use long_int to receive ...
  Topic: 24FJ and Debugger
ljbeng

Replies: 11
Views: 16816

PostForum: General CCS C Discussion   Posted: Mon Oct 17, 2011 3:29 pm   Subject: 24FJ and Debugger
The fix...

#device ICD=2
  Topic: 24FJ and Debugger
ljbeng

Replies: 11
Views: 16816

PostForum: General CCS C Discussion   Posted: Tue Oct 11, 2011 7:19 am   Subject: 24FJ and Debugger
So what is the conclusion? Do I need to move the icd pins from B6,B7 to B1,B0? Do I need to downgrade to 4.120? Does CCS need to fix a bug?

Turning off Debug doesn't change anything. I am not t ...
  Topic: 24FJ and Debugger
ljbeng

Replies: 11
Views: 16816

PostForum: General CCS C Discussion   Posted: Mon Oct 10, 2011 1:53 pm   Subject: 24FJ and Debugger
I am changing #FUSES ICSP1 2 OR 3 but the ICSP fuse in the List File is always set to ICSP1.

I am connected to ICSP2, B6,B7.

The Device Table Editor shows:
ICSP3 MASK: 000300 VALUE:000100
ICSP ...
  Topic: 24FJ and Debugger
ljbeng

Replies: 11
Views: 16816

PostForum: General CCS C Discussion   Posted: Mon Oct 10, 2011 10:31 am   Subject: 24FJ and Debugger
FYI, not even the 24FJ128GA006 development board I bought from CCS will load and debug a program......
  Topic: 24FJ and Debugger
ljbeng

Replies: 11
Views: 16816

PostForum: General CCS C Discussion   Posted: Mon Oct 10, 2011 9:48 am   Subject: 24FJ and Debugger
I have emailed CCS about this but haven't been helped yet.

I have V4.125 and the PIC24FJ256GA106 and cannot get the chip to debug. I have had the debugger working before but something changed (sof ...
  Topic: Sending a Break Sequence
ljbeng

Replies: 3
Views: 9914

PostForum: General CCS C Discussion   Posted: Fri Oct 07, 2011 8:33 am   Subject: Sending a Break Sequence
Thanks, I looked at that thread.

It must be because the chip is a 16F1825 but I am getting a Undefined Identifier when I try to use setup_uart(false) with V4.124
  Topic: Sending a Break Sequence
ljbeng

Replies: 3
Views: 9914

PostForum: General CCS C Discussion   Posted: Wed Oct 05, 2011 8:45 am   Subject: Sending a Break Sequence
I have a PIC16F1825 with hardware uart.

My Trimble GPS board will send me its hardware serial setup and other information such as model no. if I send it a 250ms min. duration break sequence. Once ...
  Topic: How do you set APFCON bits?
ljbeng

Replies: 4
Views: 7948

PostForum: General CCS C Discussion   Posted: Thu Sep 15, 2011 7:34 am   Subject: How do you set APFCON bits?
I have a 16f1825 and I cannot get the ICD-U64 to program or read the correct ID (It read 2FE1). Is there something special I am missing?

Thanks.
  Topic: 24FJ128GA106 bootloader
ljbeng

Replies: 0
Views: 3686

PostForum: General CCS C Discussion   Posted: Wed Aug 31, 2011 4:17 pm   Subject: 24FJ128GA106 bootloader
I have a bootloader from CCS that works great from a pc serial port to bootload a 24FJ128GA106.

I then modifed their example to work with a VNC1L-1A usb interface. This interfaces the serial port ...
  Topic: Float64 multiplication on PIC24
ljbeng

Replies: 9
Views: 9295

PostForum: General CCS C Discussion   Posted: Thu Aug 18, 2011 8:19 am   Subject: Float64 multiplication on PIC24
I found the problem.

I had 2 variables defined as just float and used them in a float64 variable equation. I redefined the variables and now I get the results I like.

Anyone figure out why I ca ...
  Topic: Float64 multiplication on PIC24
ljbeng

Replies: 9
Views: 9295

PostForum: General CCS C Discussion   Posted: Wed Aug 17, 2011 3:59 pm   Subject: Float64 multiplication on PIC24
I had 256 but will try 512.

Also, why does pi show in the watch list as 1078530011? It looks like anywhere I use pi is doing math correctly but the ide displays this bizarre number.
  Topic: Float64 multiplication on PIC24
ljbeng

Replies: 9
Views: 9295

PostForum: General CCS C Discussion   Posted: Wed Aug 17, 2011 2:05 pm   Subject: Float64 multiplication on PIC24
I was too brief.

All variables are declared Float64 and the cast was just an attempt to find the problem. I used the debugger to test the result. In my watch list an on a mouse-over the result is ...
 
Page 1 of 14 Goto page 1, 2, 3 ... 12, 13, 14  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group