Author |
Message |
Topic: problem with int_rda and int_ext |
raflab
Replies: 2
Views: 6409
|
Forum: General CCS C Discussion Posted: Thu Aug 18, 2011 4:10 am Subject: problem with int_rda and int_ext |
When I receive the data from the serial port using int_rda !! I can't use the data named x in the main program to complete the desired scenario !! the external doesn't work anymore !!! I don't know wh ... |
Topic: int_ext + int_timer1 problem !! |
raflab
Replies: 1
Views: 4064
|
Forum: General CCS C Discussion Posted: Fri Aug 12, 2011 6:52 am Subject: int_ext + int_timer1 problem !! |
my program set to 1 the PIN A1 for 5 seconds and set to 0 for the same delay !! now I'm trying to use the external interrupt using a switch related to PIN B0 !! but it doesn't work !! the timer1 still ... |
Topic: Delay Using Timer1 |
raflab
Replies: 2
Views: 4949
|
Forum: General CCS C Discussion Posted: Fri Aug 12, 2011 4:04 am Subject: Delay Using Timer1 |
Most people would do the counting in a Timer1 interrupt routine.
And maybe some people would put a 32.768 KHz watch crystal (with
capacitors) on the Timer1 oscillator pins and have it interrupt onc ... |
Topic: Delay Using Timer1 |
raflab
Replies: 2
Views: 4949
|
Forum: General CCS C Discussion Posted: Thu Aug 11, 2011 3:33 am Subject: Delay Using Timer1 |
I'm trying to create a delay with N minutes using timer 1 .. I found the following code
#include <16F628A.h>
#fuses INTRC_IO, NOWDT, NOPROTECT, BROWNOUT, PUT, NOLVP
#use delay(clock ... |
Topic: Problem with interruptions PIC 16F628a + PCM compiler v4.068 |
raflab
Replies: 2
Views: 7092
|
Forum: General CCS C Discussion Posted: Tue Aug 09, 2011 4:45 am Subject: Problem with interruptions PIC 16F628a + PCM compiler v4.068 |
Thx for the fast response ) So I will replace the timer0 with int_rda interruption ?? and the treatment of the interruption must be as quickly as it possible !! But even if I do that the problem of ... |
Topic: Problem with interruptions PIC 16F628a + PCM compiler v4.068 |
raflab
Replies: 2
Views: 7092
|
Forum: General CCS C Discussion Posted: Tue Aug 09, 2011 2:27 am Subject: Problem with interruptions PIC 16F628a + PCM compiler v4.068 |
My project is to receive data with serial communication from VB.net. This data will be used as a delay to switch on and to switch off 3 leds !! So the algorithm is as follows:
In the PC we have 3 but ... |
|