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 22 matches
CCS Forum Index
Author Message
  Topic: CCS V5.019 and PICkit3
MMurray

Replies: 2
Views: 36306

PostForum: CCS ICD / Mach X / Load-n-Go   Posted: Fri Jan 30, 2015 4:59 pm   Subject: CCS V5.019 and PICkit3
Me too any news?
  Topic: Forward Reference to a Structure
MMurray

Replies: 4
Views: 7158

PostForum: General CCS C Discussion   Posted: Thu Jan 29, 2015 6:39 am   Subject: Forward Reference to a Structure
I read in a book somewhere that I should be able to do this...

//*PURPOSE Embedded C Programming Exercise 10_1

/* Linked List

*/

#include <e3.h>
#include <ios.h>

# define ...
  Topic: E3 board Bootloader
MMurray

Replies: 3
Views: 8768

PostForum: General CCS C Discussion   Posted: Sun Jan 11, 2015 2:58 pm   Subject: E3 board and the book
Yep, thanks, that solved it...

Go here, http://www.ccsinfo.com/faq.php?page=icdu_drivers#install

to get the driver, and install it manually to get windows to recognize it. I had to disable ant ...
  Topic: E3 board Bootloader
MMurray

Replies: 3
Views: 8768

PostForum: General CCS C Discussion   Posted: Sun Jan 11, 2015 8:02 am   Subject: E3 board Bootloader
I purchased the E3 board and flashed the bootloader into it, then I plug e3 into an USB port... Windows looks for a driver but cannot find one.

I guess my questions is what does "Connect the ...
  Topic: enum compile error "Expecting an Identifier"
MMurray

Replies: 6
Views: 11597

PostForum: General CCS C Discussion   Posted: Sun Mar 10, 2013 2:11 pm   Subject: enum compile error "Expecting an Identifier"
Ok, I feel bad, color or colors were not anywhere else in the code but RED was. That was it, name already in use.

Thanks for the help.
  Topic: enum compile error "Expecting an Identifier"
MMurray

Replies: 6
Views: 11597

PostForum: General CCS C Discussion   Posted: Sun Mar 10, 2013 1:47 pm   Subject: enum compile error "Expecting an Identifier"
I am using the same compiler, 4.141.

There are no other instances of color or of colors. Just to be sure I changed the name of the enum type to mattmurray.
enum mattmurray {OFF, RED, GREEN} matt; ...
  Topic: enum compile error "Expecting an Identifier"
MMurray

Replies: 6
Views: 11597

PostForum: General CCS C Discussion   Posted: Sun Mar 10, 2013 6:42 am   Subject: enum compile error "Expecting an Identifier"
I am adding an enum to working code and the compiler is pushing back with errors. Here is my enum declaration, I am using a PIC16F877.
void display(void);

enum colors {off,red,grn ...
  Topic: VREF problem on PIC12F1501
MMurray

Replies: 6
Views: 11425

PostForum: General CCS C Discussion   Posted: Sun Jun 03, 2012 6:40 am   Subject: VREF problem on PIC12F1501
Seems to be a compiler issue. If I set the register directly the vref is ok.

Thanks everyone for your help.

Matt
  Topic: VREF problem on PIC12F1501
MMurray

Replies: 6
Views: 11425

PostForum: General CCS C Discussion   Posted: Sun Jun 03, 2012 6:01 am   Subject: VREF problem on PIC12F1501
Thanks, I turned off the LVP the problem remains. Also re-checked, I am supplying the 3.307V to RA1 (pin 6). The prototype points to this section of the code... unsigned int16 get_adc(void)
...
  Topic: VREF problem on PIC12F1501
MMurray

Replies: 6
Views: 11425

PostForum: General CCS C Discussion   Posted: Sat Jun 02, 2012 4:40 pm   Subject: VREF problem on PIC12F1501
OK, Can you see anything??#include "12F1501.h"
#fuses INTRC_IO,NOWDT,NOPROTECT,MCLR,LVP,NOPUT,WDT
#device ADC=10
#use delay(clock=500000,restart_wdt)

#define MAX_TIME 485 / ...
  Topic: VREF problem on PIC12F1501
MMurray

Replies: 6
Views: 11425

PostForum: General CCS C Discussion   Posted: Sat Jun 02, 2012 4:16 pm   Subject: VREF problem on PIC12F1501
I use PIC12F1501 and CCS compiler version 4.132.
I want to measure ADC modules using Vref (I use 3.307V), but whatever I do ADC module uses Vdd(5V). Here is some code I use.
Thank you in advance i ...
  Topic: Problem with pointers "Expecting a close paren "
MMurray

Replies: 6
Views: 10322

PostForum: General CCS C Discussion   Posted: Sat Dec 10, 2011 4:41 pm   Subject: Problem with pointers "Expecting a close paren "
Excellent! That has got it.
Thank you
  Topic: Problem with pointers "Expecting a close paren "
MMurray

Replies: 6
Views: 10322

PostForum: General CCS C Discussion   Posted: Sat Dec 10, 2011 12:11 pm   Subject: Problem with pointers "Expecting a close paren "
No that did not help. I had commented out the offending line.

Help
  Topic: Problem with pointers "Expecting a close paren "
MMurray

Replies: 6
Views: 10322

PostForum: General CCS C Discussion   Posted: Sat Dec 10, 2011 12:07 pm   Subject: Problem with pointers "Expecting a close paren "
Ha Ha!!!! I found it!!!

I broke the line

struct node *front,*rear;

into...

struct node *front;
struct node *rear;

Thanks
  Topic: Problem with pointers "Expecting a close paren "
MMurray

Replies: 6
Views: 10322

PostForum: General CCS C Discussion   Posted: Sat Dec 10, 2011 12:02 pm   Subject: Problem with pointers "Expecting a close paren "
Ran through that before posting, I just re-checked, I could not find any missing. Is there any thing else I should be looking for?
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group