Author |
Message |
Topic: servo code |
MAKInnovation
Replies: 3
Views: 5898
|
Forum: General CCS C Discussion Posted: Sun Feb 09, 2014 11:20 pm Subject: servo code |
Sir; I will be care full next time. Thank you for your kind support
Can any one else help me with the servo code?
Ashraf |
Topic: servo code |
MAKInnovation
Replies: 3
Views: 5898
|
Forum: General CCS C Discussion Posted: Sun Feb 09, 2014 10:52 pm Subject: servo code |
Ok |
Topic: servo code |
MAKInnovation
Replies: 3
Views: 5898
|
Forum: General CCS C Discussion Posted: Fri Feb 07, 2014 4:53 am Subject: servo code |
Dear PCM programmer;
I am using one of your servo code in my project. link is given below:
http://www.ccsinfo.com/forum/viewtopic.php?t=44328&highlight=
now i have added some more task in ... |
Topic: converting long to hex |
MAKInnovation
Replies: 2
Views: 6206
|
Forum: General CCS C Discussion Posted: Sat Jan 25, 2014 3:47 am Subject: converting long to hex |
I am now getting the correct value. Thanks for your help |
Topic: converting long to hex |
MAKInnovation
Replies: 2
Views: 6206
|
Forum: General CCS C Discussion Posted: Sat Jan 25, 2014 2:21 am Subject: converting long to hex |
Dear Friends;
I want to convert long int value into an Hex value.
and then i have to send two bytes on the serial port.
For example the int value is 635. then i have to convert it into an hex va ... |
Topic: timer 1 interrupt |
MAKInnovation
Replies: 1
Views: 4870
|
Forum: General CCS C Discussion Posted: Sat Jan 18, 2014 3:59 am Subject: timer 1 interrupt |
Dear Friends;
#define USE_WITH_PC 1
#include <18F452.h>
#fuses HS, NOWDT, NOLVP, PROTECT
#use delay(clock=20000000)
#use rs232(baud=9600, xmit=PIN_C6, rcv=PIN_C7, errors ... |
Topic: AD595 |
MAKInnovation
Replies: 6
Views: 10820
|
Forum: General CCS C Discussion Posted: Thu Sep 12, 2013 11:34 pm Subject: AD595 |
Dear Asmboy;
Can you send me a complete schematic of heat c ontrol design on my email address
[email protected]
Ashraf |
Topic: AD595 |
MAKInnovation
Replies: 6
Views: 10820
|
Forum: General CCS C Discussion Posted: Thu Sep 12, 2013 1:59 am Subject: AD595 |
Thank you friends |
Topic: AD595 |
MAKInnovation
Replies: 6
Views: 10820
|
Forum: General CCS C Discussion Posted: Thu Sep 12, 2013 12:49 am Subject: AD595 |
Dear Friends;
I am confused to develop a formula for AD595 temperature measurement IC.
My Code is below:
#include <18F6722.h>
#DEVICE ADC=10
#fuses HS, NOWDT, PROTECT, BROWNOUT, PUT, ... |
Topic: #int_ccp1 problem |
MAKInnovation
Replies: 5
Views: 8582
|
Forum: General CCS C Discussion Posted: Tue May 28, 2013 11:46 pm Subject: #int_ccp1 problem |
Dear Friends;
I modify my code with PCM Programmer suggestion and observe an improvement but there was still a problem.
Then i use a 9V battery instead of a DC adapter at the input of my regulat ... |
Topic: #int_ccp1 problem |
MAKInnovation
Replies: 5
Views: 8582
|
Forum: General CCS C Discussion Posted: Mon May 27, 2013 11:03 pm Subject: #int_ccp1 problem |
I have added data definition in the code and now it can compile.
My problem is the "#int_ccp1", it executes when power fluctuate or 5V adapter lose connection.
On power fluctuation, the to ... |
Topic: #int_ccp1 problem |
MAKInnovation
Replies: 5
Views: 8582
|
Forum: General CCS C Discussion Posted: Mon May 27, 2013 4:55 am Subject: #int_ccp1 problem |
Dear Friends;
I will add some part of my code at the end my messages.
My code runs fine once it is started normally but when power fluctuate the microcontroller does not restart from beginning & ... |
Topic: Saving float value on DS1302 |
MAKInnovation
Replies: 20
Views: 24783
|
Forum: General CCS C Discussion Posted: Tue Mar 26, 2013 4:16 am Subject: Saving float value on DS1302 |
Dear All;
I am still in the process of finalizing my code and i found 1 more problem which i want to resolve and need guidance.
timeout = 0;
while(!modbus_kbhit()&& ... |
Topic: Saving float value on DS1302 |
MAKInnovation
Replies: 20
Views: 24783
|
Forum: General CCS C Discussion Posted: Wed Mar 20, 2013 12:43 am Subject: Saving float value on DS1302 |
while(!modbus_kbhit()&&(++timeout<50000)); // 1/2 second
I use this line instead of
while(!modbus_kbhit());
and now code is working.
And now t ... |
Topic: Saving float value on DS1302 |
MAKInnovation
Replies: 20
Views: 24783
|
Forum: General CCS C Discussion Posted: Wed Mar 20, 2013 12:21 am Subject: Saving float value on DS1302 |
while(TRUE)
{
while(!modbus_kbhit());
...................................
default: //We don't support the function, so return exception
... |
|