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 50 matches
CCS Forum Index
Author Message
  Topic: PWM Duty problem
sraiderk

Replies: 3
Views: 11428

PostForum: General CCS C Discussion   Posted: Wed Feb 20, 2019 4:13 am   Subject: PWM Duty problem
Perfect explanation. Thank you...Sorry for I said the compiler problem...
  Topic: PWM Duty problem
sraiderk

Replies: 3
Views: 11428

PostForum: General CCS C Discussion   Posted: Wed Feb 20, 2019 1:27 am   Subject: PWM Duty problem
CCS C Version 5.076
  Topic: PWM Duty problem
sraiderk

Replies: 3
Views: 11428

PostForum: General CCS C Discussion   Posted: Wed Feb 20, 2019 1:26 am   Subject: PWM Duty problem
Timer 2 define the period of PWM.

set_pwm1_duty((int16)420); After that %50 ON %50 OFF signal of PWM one cycle pulse.

Then, I changed Timer2 frequency so, PWM period changed. Afterwords,set_pwm ...
  Topic: Check the Flag of Time interrupt in EXTinterrupt use18F27K40
sraiderk

Replies: 3
Views: 11327

PostForum: General CCS C Discussion   Posted: Tue Feb 05, 2019 6:15 am   Subject: Check the Flag of Time interrupt in EXTinterrupt use18F27K40
Thank you for perfect explanation now and all before..
  Topic: Check the Flag of Time interrupt in EXTinterrupt use18F27K40
sraiderk

Replies: 3
Views: 11327

PostForum: General CCS C Discussion   Posted: Fri Jan 11, 2019 4:55 am   Subject: Check the Flag of Time interrupt in EXTinterrupt use18F27K40
Is it possible to check the flag of Timer0 in EXT interrupt. I mean:

#INT_EXT1
void EXT1_isr(void)
{
if (Now_Timer0_interrupted_andwaiting_finish_thisprocess==True)
...
  Topic: Using Array of bits with struct
sraiderk

Replies: 3
Views: 12445

PostForum: General CCS C Discussion   Posted: Thu May 10, 2018 1:31 am   Subject: Using Array of bits with struct
Thank you for all reply.

I tried the Ttelmah's code with pic18f27k40 and ccs c version 5.076. There is no problem. I mean that I saw "OKOK" output on LCD. So, I will check my orginal code ...
  Topic: Using Array of bits with struct
sraiderk

Replies: 3
Views: 12445

PostForum: General CCS C Discussion   Posted: Wed May 09, 2018 6:12 am   Subject: Using Array of bits with struct
In CCS C web page, there is a explanation like that: Bit Arrays
You can create an array of bits (or booleans). You cannot create a pointer to an array of bits or to a bit.

However, I am using comp ...
  Topic: 18F24K40 & handle of rs232_errors
sraiderk

Replies: 4
Views: 15221

PostForum: General CCS C Discussion   Posted: Fri Feb 23, 2018 12:52 am   Subject: 18F24K40 & handle of rs232_errors
It's OK now. Ttelmah, thank you for your help...
  Topic: 18F24K40 & handle of rs232_errors
sraiderk

Replies: 4
Views: 15221

PostForum: General CCS C Discussion   Posted: Thu Feb 22, 2018 5:17 am   Subject: Re: 18F24K40 & handle of rs232_errors
I have used the 18F24K40 with compiler version 5.076. My code is very simple:

#include <18F24K40.h>

#FUSES NOWDT //No Watch Dog Timer

#use delay(clock=64MHz,crystal=1 ...
  Topic: 18F24K40 & handle of rs232_errors
sraiderk

Replies: 4
Views: 15221

PostForum: General CCS C Discussion   Posted: Thu Feb 22, 2018 3:00 am   Subject: 18F24K40 & handle of rs232_errors
I have used the 18F24K40 with compiler version 5.076. My code is very simple:

#include <18F24K40.h>

#FUSES NOWDT //No Watch Dog Timer

#use delay(clock=64MHz,cryst ...
  Topic: float to byte or char array
sraiderk

Replies: 3
Views: 5061

PostForum: General CCS C Discussion   Posted: Thu May 28, 2009 2:49 am   Subject: float to byte or char array
I want to learn the following:

float x;

x=256*256*256*256*256;

I using calculator it's calculate it 1099511627776
in ccs it 's calculated as 1099511697920 why this is different?
  Topic: float to byte or char array
sraiderk

Replies: 3
Views: 5061

PostForum: General CCS C Discussion   Posted: Wed May 27, 2009 8:18 am   Subject: float to byte or char array
How can I convert float to byte or char array

For example
if x=(float)123456789345.545
then,
function find the following result for me...Where z is rhe array

z[0]=1;
z[1]=2;
z[2]=3;
z[3] ...
  Topic: tc35i
sraiderk

Replies: 4
Views: 6724

PostForum: General CCS C Discussion   Posted: Thu May 07, 2009 1:10 am   Subject: tc35i
PCM Programmer, you can find the hardware connection of the TC35i the following link.

http://www.sendsms.cn/download/tc35i_hd_v0103_1073577.pdf

I made some other test. I disconnected TX and RX ...
  Topic: tc35i
sraiderk

Replies: 4
Views: 6724

PostForum: General CCS C Discussion   Posted: Wed May 06, 2009 3:39 am   Subject: tc35i
I am using 18f4620 and TC35i. Turn on TC35i using IGT pin. Then TC35i produce 2.904V at VDD pin. But, I sent data using AT comments. I never take anything. I am using Hardware uart.
#use rs232(ba ...
  Topic: UART How do you change parity or data len within program
sraiderk

Replies: 1
Views: 2704

PostForum: General CCS C Discussion   Posted: Thu Apr 23, 2009 8:08 am   Subject: UART How do you change parity or data len within program
I want to adjust the following HARDWARE UART setting when pic at energized. For example; pic internal eeprom has the following values. I want to read this values from internal eeprom then I want to ad ...
 
Page 1 of 4 Goto page 1, 2, 3, 4  Next
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group