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 13 matches
CCS Forum Index
Author Message
  Topic: PIC 16F877A interrupt on B4 strange activity
SerialGmr8

Replies: 2
Views: 4210

PostForum: General CCS C Discussion   Posted: Fri May 23, 2008 9:48 am   Subject: PIC 16F877A interrupt on B4 strange activity
Thank you Ttelmah. All is well with my code Smile

Regards,
SerialGmr8
  Topic: PIC 16F877A interrupt on B4 strange activity
SerialGmr8

Replies: 2
Views: 4210

PostForum: General CCS C Discussion   Posted: Fri May 23, 2008 9:01 am   Subject: PIC 16F877A interrupt on B4 strange activity
Greetings programming gurus.

Im trying to interrupt when a change (hi/low) is detected on PIN B4 on my pic16f877a. My code in entirety is as follows;



#include <16F877a.h>
#fuses HS,NO ...
  Topic: Int_RA
SerialGmr8

Replies: 1
Views: 3759

PostForum: General CCS C Discussion   Posted: Thu Jan 31, 2008 1:50 pm   Subject: Int_RA
Hello all,

I've been trying to use the interrupt on change on the port A pins, but the compiler states that it doesnt recognise "#define int_ra".

Im using PCW Compiler versions 4.057. ...
  Topic: 3 Minute interrupt required
SerialGmr8

Replies: 9
Views: 7412

PostForum: General CCS C Discussion   Posted: Tue Dec 04, 2007 6:21 am   Subject: 3 Minute interrupt required
duely noted Foppie.

much thanks
  Topic: concatinating two int8's into an int16
SerialGmr8

Replies: 3
Views: 3965

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 6:17 pm   Subject: concatinating two int8's into an int16
surely worth a shot.
thanks frequentguest...

*you might as well sign up :P*
  Topic: concatinating two int8's into an int16
SerialGmr8

Replies: 3
Views: 3965

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 3:31 pm   Subject: concatinating two int8's into an int16
Hello C gurus,

im trying to merge two int8 values into an int16 as follows;



#include <16F877.h>
#fuses HS,NOWDT,NOPROTECT,NOLVP
#use delay(clock=20000000)

int8 storetemp&# ...
  Topic: 3 Minute interrupt required
SerialGmr8

Replies: 9
Views: 7412

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 10:42 am   Subject: Much thanks.
Thanks to all for their most valued assistance.

The following code implements a 3 minute timer on timer0.



#if defined(__PCM__)
#include <16F877.h>
#fuses HS,NOWDT,NOPROTECT,N ...
  Topic: 3 Minute interrupt required
SerialGmr8

Replies: 9
Views: 7412

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 9:26 am   Subject: 3 Minute interrupt required
mcuh thanks. I will give this a try and let you all know how it goes.
  Topic: 10 minutes interrupt
SerialGmr8

Replies: 5
Views: 4450

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 9:04 am   Subject: 10 minutes interrupt
*declare some variable for ex. ledstate

#include <16f818.h>
#use delay(clock=8000000)
#fuses NOWDT,HS,NOPUT,NOPROTECT,NOBROWNOUT,NOLVP

BYTE ledstate; //led state (on / ...
  Topic: 10 minutes interrupt
SerialGmr8

Replies: 5
Views: 4450

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 6:41 am   Subject: 10 minutes interrupt
hey spom,

i got something similiar inquiring about in this thread.
http://www.ccsinfo.com/forum/viewtopic.php?t=32889

this might help you. im decoding for three minutes. your coding should be s ...
  Topic: 3 Minute interrupt required
SerialGmr8

Replies: 9
Views: 7412

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 5:57 am   Subject: 3 Minute interrupt required
Thanks guys. i've updated my code to be similar to one of the examples with ccs. but this still doesnt work.

when i get my first three minute interrupt, would i have to restart a counter or somethi ...
  Topic: 3 Minute interrupt required
SerialGmr8

Replies: 9
Views: 7412

PostForum: General CCS C Discussion   Posted: Mon Dec 03, 2007 12:09 am   Subject: 3 Minute interrupt required
Greetings all,

im trying to get an approximate interupt rate of one second on timer0, using ccs compliler version 4.059, to a pic16f877a target chip running at 20Mhz

#include <16F877A.h> ...
  Topic: One DS18B20 in powered mode
SerialGmr8

Replies: 13
Views: 54489

PostForum: General CCS C Discussion   Posted: Sat Dec 01, 2007 1:37 pm   Subject: One DS18B20 in powered mode
As per Kenny's post :


write_byte(0xEC); // Send Alarm Search command

do
{
x = 0;
if (read_bit() == 1) x = 2;
delay_us(120& ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group