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 27 matches
CCS Forum Index
Author Message
  Topic: How to create accurate time in the CCS for PIC
hoa35ktxd

Replies: 5
Views: 17427

PostForum: General CCS C Discussion   Posted: Sun Apr 17, 2016 1:47 am   Subject: How to create accurate time in the CCS for PIC
Many thank!
  Topic: How to create accurate time in the CCS for PIC
hoa35ktxd

Replies: 5
Views: 17427

PostForum: General CCS C Discussion   Posted: Sat Apr 16, 2016 7:55 am   Subject: How to create accurate time in the CCS for PIC
My code:

#include <16F883.h>
#FUSES WDT //Watch Dog Timer
#FUSES HS
#use delay(crystal=20000000)

int16 time_stick;
#INT_RTCC
void RTCC_isr(void) ...
  Topic: ccs wizard error "invalid floating point operation"
hoa35ktxd

Replies: 4
Views: 12237

PostForum: General CCS C Discussion   Posted: Mon Mar 28, 2016 7:38 pm   Subject: ccs wizard error "invalid floating point operation"
I use CCS 5.015 and windows 10
The windows message "invalid floating point operation" only show when I start Project wizard.
  Topic: ccs wizard error "invalid floating point operation"
hoa35ktxd

Replies: 4
Views: 12237

PostForum: General CCS C Discussion   Posted: Mon Mar 28, 2016 2:33 am   Subject: ccs wizard error "invalid floating point operation"
When I start Project wizard (File>New>Projact Wiazrd)
A message box is pop up with information: "invalid floating point operation"
What is this error and how to fix it?
Thanks.
  Topic: Is there any special for PIC12F617?
hoa35ktxd

Replies: 13
Views: 19968

PostForum: General CCS C Discussion   Posted: Fri Mar 04, 2016 10:59 am   Subject: Is there any special for PIC12F617?
Would like to thank everyone for your interest in my problem.
Please confess: I am not a trained electronics and do not know much about English. I love science and electronics enthusiasts, and only s ...
  Topic: Is there any special for PIC12F617?
hoa35ktxd

Replies: 13
Views: 19968

PostForum: General CCS C Discussion   Posted: Fri Mar 04, 2016 9:57 am   Subject: Is there any special for PIC12F617?
Just tried a chip, and this merrily sits toggling A0:
(with 5.053)

#include <12F617.h>
#device ADC=10
#fuses NOWDT, INTRC_IO, NOMCLR
#use delay(internal=4000000)

void main( ...
  Topic: Is there any special for PIC12F617?
hoa35ktxd

Replies: 13
Views: 19968

PostForum: General CCS C Discussion   Posted: Fri Mar 04, 2016 8:39 am   Subject: Is there any special for PIC12F617?
Thanks for Ttelmah enthusiasm.
I need you to help me a standard configuration (software and hardware) to be able to control any PIN.
You experimental field with 12F617 yet?
I need that.
  Topic: Is there any special for PIC12F617?
hoa35ktxd

Replies: 13
Views: 19968

PostForum: General CCS C Discussion   Posted: Fri Mar 04, 2016 3:26 am   Subject: Is there any special for PIC12F617?
As posted, it won't, unless you have a pullup on pin A3.
Thank you.
I just wonder about the software only.
On the hardware side, I already know how to connect. I have done with many other IC then ( ...
  Topic: Is there any special for PIC12F617?
hoa35ktxd

Replies: 13
Views: 19968

PostForum: General CCS C Discussion   Posted: Thu Mar 03, 2016 10:54 pm   Subject: Is there any special for PIC12F617?
My Simple code:

#include <12F617.h>
#use delay(internal=4000000)

void main()
{
while(TRUE)
{
Output_high(PIN_A0);
...
  Topic: Is there any special for PIC12F617?
hoa35ktxd

Replies: 13
Views: 19968

PostForum: General CCS C Discussion   Posted: Thu Mar 03, 2016 9:25 am   Subject: Is there any special for PIC12F617?
I tested with a small program but did not see any active even I have changed some others new IC.
Suppose that I bought fake one?
My code:

#include <12F617.h>
#FUSES NOMCLR ...
  Topic: How to Output_high and Output_low on Pin_A1 PIC16F690
hoa35ktxd

Replies: 3
Views: 8792

PostForum: General CCS C Discussion   Posted: Tue Jan 20, 2015 6:48 am   Subject: How to Output_high and Output_low on Pin_A1 PIC16F690
Thank you.
Your code are not work.
I need only PIN_A1.
  Topic: How to Output_high and Output_low on Pin_A1 PIC16F690
hoa35ktxd

Replies: 3
Views: 8792

PostForum: General CCS C Discussion   Posted: Mon Jan 19, 2015 11:06 pm   Subject: How to Output_high and Output_low on Pin_A1 PIC16F690
My code:

Output_high(Pin_A1);
Delay_ms(500);
Output_Low(Pin_A1);
Delay_ms(500);
But it not work.
Why and how to fix this problem.
Thanks.
  Topic: How to Calculate time between 2 times press a button
hoa35ktxd

Replies: 11
Views: 13862

PostForum: General CCS C Discussion   Posted: Wed Nov 26, 2014 10:10 am   Subject: How to Calculate time between 2 times press a button
I think you need to understand, that this is a help forum for _problems with writing your own code_, not a 'write things for you' forum.....
Thanks for your help carefully, I enjoyed it.
I will acti ...
  Topic: How to Calculate time between 2 times press a button
hoa35ktxd

Replies: 11
Views: 13862

PostForum: General CCS C Discussion   Posted: Wed Nov 26, 2014 10:00 am   Subject: How to Calculate time between 2 times press a button
You've already got a loop.

Follow Ttelmah's advice

Include the following lines in your while(true) loop delay_ms(1);
loop_count++;Add code in the other if's to capture the lo ...
  Topic: How to Calculate time between 2 times press a button
hoa35ktxd

Replies: 11
Views: 13862

PostForum: General CCS C Discussion   Posted: Wed Nov 26, 2014 1:15 am   Subject: How to Calculate time between 2 times press a button
These CCS example files may give you some ideas:

c:\program files\picc\examples\ex_pulse.c
c:\program files\picc\examples\ex_react.c
c:\program files\picc\examples\ex_speed.c

I have see ...
 
Page 1 of 2 Goto page 1, 2  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group