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 11 matches
CCS Forum Index
Author Message
  Topic: How can I count 5 pulses and then active an output at 16f877
rami_shama

Replies: 6
Views: 4719

PostForum: General CCS C Discussion   Posted: Tue May 18, 2010 9:46 pm   Subject: How can I count 5 pulses and then active an output at 16f877
I thought it is too hard to do it, as I'm still beginner in CCS programing.
So I will take the Signal from vibration and enter it to a Opto Coupler.
and the opto will active SEND bottom..

Thanks ...
  Topic: How can I count 5 pulses and then active an output at 16f877
rami_shama

Replies: 6
Views: 4719

PostForum: General CCS C Discussion   Posted: Mon May 17, 2010 10:29 pm   Subject: How can I count 5 pulses and then active an output at 16f877
My project is to send status message when any input changed.
The Pulses is output of vibration of the mobile, so i wanna let the pic to open the call "Press send".
  Topic: How can I count 5 pulses and then active an output at 16f877
rami_shama

Replies: 6
Views: 4719

PostForum: General CCS C Discussion   Posted: Mon May 17, 2010 12:00 pm   Subject: How can I count 5 pulses and then active an output at 16f877
This is my code
so what can i do??
and i need it to count the Pulses when the program at:
while (true)
{ "here"
.
.
.
}

#include "F:\cc\main.h"
in ...
  Topic: How can I count 5 pulses and then active an output at 16f877
rami_shama

Replies: 6
Views: 4719

PostForum: General CCS C Discussion   Posted: Mon May 17, 2010 7:29 am   Subject: How can I count 5 pulses and then active an output at 16f877
Hello,
How can I count 5 pulses ( T=1 sec, Duty cycle = 1/2 f= 1Hz) at input B0, and then make active B5 ?
And I'm use PIC 16F877A and PIC C program.
Thank you.
  Topic: My program didn't work
rami_shama

Replies: 9
Views: 6126

PostForum: General CCS C Discussion   Posted: Tue May 04, 2010 7:45 am   Subject: My program didn't work
Look at this Code, it is work
#include "F:\cc\main.h"
int check_change();
void menu();
void end();
void cursor();
int which_MSG();
int sen1 ...
  Topic: My program didn't work
rami_shama

Replies: 9
Views: 6126

PostForum: General CCS C Discussion   Posted: Sun May 02, 2010 2:01 pm   Subject: My program didn't work
it is still didn't work!
  Topic: My program didn't work
rami_shama

Replies: 9
Views: 6126

PostForum: General CCS C Discussion   Posted: Sat May 01, 2010 2:44 pm   Subject: My program didn't work
Compare:

input_a() & 0x07


for(i=0; i<(input_a & 0x07)

What's missing?

ohhh!!!
It is bad!!
Thank you very much Smile
I will try to run it and I will tell you if it is ok at PIC ...
  Topic: My program didn't work
rami_shama

Replies: 9
Views: 6126

PostForum: General CCS C Discussion   Posted: Sat May 01, 2010 3:49 am   Subject: My program didn't work
http://i42.tinypic.com/2lkw87t.jpg
  Topic: My program didn't work
rami_shama

Replies: 9
Views: 6126

PostForum: General CCS C Discussion   Posted: Sat May 01, 2010 3:37 am   Subject: My program didn't work
Hello,
I'm edit my program and now it is :


#include "main.h"

int sen,i;
void menu();
void cursor();
void end();
void main()
{

setup_a ...
  Topic: My program didn't work
rami_shama

Replies: 9
Views: 6126

PostForum: General CCS C Discussion   Posted: Thu Apr 29, 2010 3:24 pm   Subject: My program didn't work
Hello,
I will try to use your suggestions, and I will tell you about the results.
about main.h
#include <16F877A.h>
#device adc=8

#FUSES WDT //Watch Dog Timer
#FUSES ...
  Topic: My program didn't work
rami_shama

Replies: 9
Views: 6126

PostForum: General CCS C Discussion   Posted: Thu Apr 29, 2010 12:58 am   Subject: My program didn't work
Hello,

This is my program and it is not working. The main idea for my program is that:
When any input of A0,A1,A2 changes, the PIC 16F877A must make pulses at the outputs B0,B1,B2 if the input B ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group