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 30 matches
CCS Forum Index
Author Message
  Topic: PIC16F716 LED Blink not work.
mmc01

Replies: 11
Views: 20924

PostForum: General CCS C Discussion   Posted: Wed Aug 27, 2014 8:34 pm   Subject: PIC16F716 LED Blink not work.
Thank you very much.
  Topic: PIC16F716 LED Blink not work.
mmc01

Replies: 11
Views: 20924

PostForum: General CCS C Discussion   Posted: Wed Aug 27, 2014 3:06 am   Subject: PIC16F716 LED Blink not work.
I measure pin 15, 16 it's 0.01 mV . I don't know why LED not blink. May be 16F716 not use MCLR . How to use 16F716 LED blink
  Topic: PIC16F716 LED Blink not work.
mmc01

Replies: 11
Views: 20924

PostForum: General CCS C Discussion   Posted: Mon Aug 25, 2014 2:40 am   Subject: PIC16F716 LED Blink not work.
I try to make easy LED blink with PIC but LED not blink. First I use XTAL 25MHz and it not work so I change to 16MHz It's not work Now I use 4Mhz but it's not work too.
I use 16F72 and I think it lo ...
  Topic: How to program PIC 12F629 ?
mmc01

Replies: 6
Views: 14873

PostForum: General CCS C Discussion   Posted: Thu Jul 24, 2014 8:16 pm   Subject: How to program PIC 12F629 ?
The standard name of 12F629 different from 16F.

http://ww1.microchip.com/downloads/en/devicedoc/41190c.pdf

I'm not sure what is standard name of 12F629. Can I use 12F629 with PIN_A0 to PINA5 ?
  Topic: How to program PIC 12F629 ?
mmc01

Replies: 6
Views: 14873

PostForum: General CCS C Discussion   Posted: Tue Jul 22, 2014 12:47 am   Subject: How to program PIC 12F629 ?
when I compile it show error like this. How to use 12F629 with CCS ?

Error 12 "main.c" Line 8(15,18): Undefined identifier GP2
Error 12 "main.c" Line 11(18,21): Undefined ident ...
  Topic: How to program PIC 12F629 ?
mmc01

Replies: 6
Views: 14873

PostForum: General CCS C Discussion   Posted: Mon Jul 21, 2014 11:16 pm   Subject: How to program PIC 12F629 ?
I program to 12F629. It have GP0-GP5. I can't use the code like this. 12F629 should use internal clock. I want to use microcontroller for 5 PIN only. What the number of microcontroller PIC suitable f ...
  Topic: How to fix 7 Segment multiplex blink ?
mmc01

Replies: 2
Views: 4426

PostForum: General CCS C Discussion   Posted: Sat Jun 07, 2014 9:52 am   Subject: How to fix 7 Segment multiplex blink ?
I connect 7 Segment Anode 2 Digits to 16F887 by multiplex. The 7 Segment always blink. I reduce delay in code but it blink yet. How to fix it ?

#include <16F887.h>
#fuses HS
#fuses NOLVP
# ...
  Topic: CCS cannot calculate next time
mmc01

Replies: 11
Views: 14435

PostForum: General CCS C Discussion   Posted: Mon Aug 26, 2013 9:28 am   Subject: CCS cannot calculate next time
Thank you. Now I move Set_Feed_Time() to main() and change getNow() from

int16 now_hr,now_min;
int16 now_all;

to int32 now_hr,now_min,now_all; and it work ! . It can calculate correct va ...
  Topic: CCS cannot calculate next time
mmc01

Replies: 11
Views: 14435

PostForum: General CCS C Discussion   Posted: Wed Aug 21, 2013 3:11 am   Subject: CCS cannot calculate next time
I have problem with Set_Feed_Time() function. when I use this code in main.

while(TRUE){

if(ext_int_flag == TRUE)
{
Set_Feed_Time();
ext_int_flag = F ...
  Topic: CCS cannot calculate next time
mmc01

Replies: 11
Views: 14435

PostForum: General CCS C Discussion   Posted: Tue Aug 20, 2013 2:18 am   Subject: CCS cannot calculate next time
I don't know how to re-think main loop. it have to use external interrupt . but I will remove delay and use debouce switch instead.
  Topic: CCS cannot calculate next time
mmc01

Replies: 11
Views: 14435

PostForum: General CCS C Discussion   Posted: Mon Aug 19, 2013 8:09 pm   Subject: CCS cannot calculate next time
I have problem with this function.

/**************************************/
int16 next_time(int16 hr, int16 min, int pos){

int32 minimVal;
int i=0,check;
int16 now_all;
int32 al ...
  Topic: CCS cannot calculate next time
mmc01

Replies: 11
Views: 14435

PostForum: General CCS C Discussion   Posted: Mon Aug 19, 2013 9:34 am   Subject: CCS cannot calculate next time
I want to calculate next time in 24hr not use am. pm. I keep time 5 value in array and sort time in array. After that, find minimum time which more than current time. If have no value more than curren ...
  Topic: Error Out Of ROM when I use many printf.
mmc01

Replies: 7
Views: 11616

PostForum: General CCS C Discussion   Posted: Mon Aug 05, 2013 9:30 am   Subject: Error Out Of ROM when I use many printf.
Thank you very much. Very Happy Very Happy Very Happy
  Topic: Error Out Of ROM when I use many printf.
mmc01

Replies: 7
Views: 11616

PostForum: General CCS C Discussion   Posted: Sun Aug 04, 2013 8:15 pm   Subject: Error Out Of ROM when I use many printf.
Your program doesn't have a main(), so it won't even compile enough
to test your problem. Without a main(), the compiler just says:
Error: Expecting function name

Sorry my code is long. This ...
  Topic: Error Out Of ROM when I use many printf.
mmc01

Replies: 7
Views: 11616

PostForum: General CCS C Discussion   Posted: Sun Aug 04, 2013 2:08 am   Subject: Error Out Of ROM when I use many printf.
I write code in ccs for alarm food. I just create new function for record and play voice that is Rec_Voice() , Play_Voice(). After I use these function in external interrupt (EXT_ISR) then it show er ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group