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 14 matches
CCS Forum Index
Author Message
  Topic: What's wrong?
theredkid

Replies: 9
Views: 12523

PostForum: General CCS C Discussion   Posted: Thu Sep 04, 2014 9:34 am   Subject: What's wrong?
1) That is NOT your CCS C Compiler version. Spend some time on the forum to learn what this question *really* means.
2) Please post a picture of your hardware
3) Your reply has nothing to do with th ...
  Topic: What's wrong?
theredkid

Replies: 9
Views: 12523

PostForum: General CCS C Discussion   Posted: Thu Sep 04, 2014 3:16 am   Subject: What's wrong?
1) CCS C MPLAB IDE v8.92
2) Real Hardware
3) PIC KIT 3
4) This is a PIC software to control 3 phase thyristor triggering.
5) No LED flash.
  Topic: What's wrong?
theredkid

Replies: 9
Views: 12523

PostForum: General CCS C Discussion   Posted: Thu Sep 04, 2014 12:32 am   Subject: What's wrong?
Hello,

I successfully compiled the following prg but but couldn't run it. Do you think I should include the config bits?

#include <18f452.h>
#FUSES XT,NOWDT,NOPROTECT,NOLVP,NOPUT,NO ...
  Topic: Phase angle control of thyristor w/ PIC18F
theredkid

Replies: 7
Views: 15182

PostForum: General CCS C Discussion   Posted: Tue Sep 02, 2014 2:44 am   Subject: Phase angle control of thyristor w/ PIC18F
Sorry, I posted the wrong code. Here comes the actual code:


#include <18F452.h>
#fuses XT, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock = 4000000)

unsigned char FlagReg; ...
  Topic: Phase angle control of thyristor w/ PIC18F
theredkid

Replies: 7
Views: 15182

PostForum: General CCS C Discussion   Posted: Tue Sep 02, 2014 1:40 am   Subject: Phase angle control of thyristor w/ PIC18F
Hello,

For the following code, I got some errors:

#include <18F452.h>
#fuses XT, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock = 4000000)

unsigned char FlagReg;
sbit ZC ...
  Topic: 3 PHASE PWM ON 18F452
theredkid

Replies: 4
Views: 9717

PostForum: General CCS C Discussion   Posted: Tue Sep 02, 2014 12:34 am   Subject: 3 PHASE PWM ON 18F452
Thank you all for your detailed answers.
  Topic: 3 PHASE PWM ON 18F452
theredkid

Replies: 4
Views: 9717

PostForum: General CCS C Discussion   Posted: Mon Sep 01, 2014 2:33 am   Subject: 3 PHASE PWM ON 18F452
Hi Everybody,

I'm trying to achieve tri-phase angle control of a thyristor using PWM on 18F452. I know the code for single phase, but how can we implement in three phase? I'm restricted to use 18 ...
  Topic: What's wrong with my code?
theredkid

Replies: 14
Views: 15149

PostForum: General CCS C Discussion   Posted: Fri Aug 29, 2014 2:13 am   Subject: What's wrong with my code?
Unfortunately my boss insists I do this way. You can understand my level from overseas but he can't even tho he is here. We'll see how it goes.
  Topic: What's wrong with my code?
theredkid

Replies: 14
Views: 15149

PostForum: General CCS C Discussion   Posted: Thu Aug 28, 2014 11:42 pm   Subject: What's wrong with my code?
Will it be enough if I just clock shift register or do I have to control both shift register and ULN?
  Topic: What's wrong with my code?
theredkid

Replies: 14
Views: 15149

PostForum: General CCS C Discussion   Posted: Thu Aug 28, 2014 12:50 am   Subject: Schematics
Here comes schematics. The PIC and RELAY are connected to each ther via big black arrows shown in the images. I think I didn't write any code for the register CD 4094. Might this be the reason why ...
  Topic: What's wrong with my code?
theredkid

Replies: 14
Views: 15149

PostForum: General CCS C Discussion   Posted: Thu Aug 28, 2014 12:27 am   Subject: What's wrong with my code?
Is there a way in this forum to post schematic?
  Topic: What's wrong with my code?
theredkid

Replies: 14
Views: 15149

PostForum: General CCS C Discussion   Posted: Wed Aug 27, 2014 11:57 pm   Subject: What's wrong with my code?
The thing is that when I power the relay board, the leds turn on like a lamp, but no blinking meanwhile.
  Topic: What's wrong with my code?
theredkid

Replies: 14
Views: 15149

PostForum: General CCS C Discussion   Posted: Wed Aug 27, 2014 8:39 am   Subject: What's wrong with my code?
Yes, it does compile but no led flashes.
  Topic: What's wrong with my code?
theredkid

Replies: 14
Views: 15149

PostForum: General CCS C Discussion   Posted: Wed Aug 27, 2014 6:18 am   Subject: What's wrong with my code?
Hello,

Could you maybe check my following ccs c code used to control a relay driver for turning on/off leds. Unfortunately does not work.

#include <18F452.h>
#define Fosc 16000000 //Bau ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group