Author |
Message |
Topic: Interrupt and two different output |
Sebastian
Replies: 11
Views: 12754
|
Forum: General CCS C Discussion Posted: Wed Oct 08, 2014 1:04 am Subject: Interrupt and two different output |
Thanks PCM now compile it's ok !!!
I have a clarification to submit ,
+5v
|
<
> 4.7K
< ___ Push button ... |
Topic: Interrupt and two different output |
Sebastian
Replies: 11
Views: 12754
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2014 7:36 am Subject: Interrupt and two different output |
I tried to compile the project with the file button.c but returns
A #DEVICE REQUIRED BEFORE THIS LINE
#define read_bit_var(x) bit_test(*(int8 *)(x >> 3), x & 7)
What's the rea ... |
Topic: Interrupt and two different output |
Sebastian
Replies: 11
Views: 12754
|
Forum: General CCS C Discussion Posted: Tue Oct 07, 2014 12:53 am Subject: Interrupt and two different output |
Thanks PCM programmer
You're really gentle, carefully read your advice.
I'm sorry but I'm not a programmer.
Thanks again for your time! |
Topic: Interrupt and two different output |
Sebastian
Replies: 11
Views: 12754
|
Forum: General CCS C Discussion Posted: Mon Oct 06, 2014 9:58 am Subject: Interrupt and two different output |
Thank you Ttelmath , PCM programmer for the encouragement !!!
I do not have the experience to tell you if this goes in the right direction !
This code is a collage of your examples and only for te ... |
Topic: Interrupt and two different output |
Sebastian
Replies: 11
Views: 12754
|
Forum: General CCS C Discussion Posted: Tue Sep 30, 2014 10:53 am Subject: Interrupt and two different output |
Hi all
I have written this little program to manage two outputs alternately at the touch of a button. Needless to say, so the interrupt routine is not functional.
Do you have any tips to handle t ... |
Topic: About input.c file |
Sebastian
Replies: 3
Views: 6321
|
Forum: General CCS C Discussion Posted: Fri Apr 02, 2010 3:42 am Subject: About input.c file |
But what if the user only wants to enter "0B", and only types
in a 'B' (without the leading 0) and presses the Enter key? The CCS
routine will detect this. If the 2nd key pressed is ... |
Topic: About input.c file |
Sebastian
Replies: 3
Views: 6321
|
Forum: General CCS C Discussion Posted: Thu Apr 01, 2010 7:23 am Subject: About input.c file |
Hi all
I'm trying to read and write a I2C serial eprom using EX_EXTEE program.
I have a question. I don't understand the second part of input of address where are returned the getc() parameter:
... |
Topic: convert Decimal to Hex |
Sebastian
Replies: 26
Views: 30838
|
Forum: General CCS C Discussion Posted: Wed Mar 31, 2010 6:55 am Subject: convert Decimal to Hex |
HI nemero16
I have a question. You have used the input.c file but I don't understand the second part of input of address where are returned the getc() parameter:
BYTE gethex1() {
... |
Topic: PCWHD and ICD2 |
Sebastian
Replies: 1
Views: 4345
|
Forum: General CCS C Discussion Posted: Fri Jan 04, 2008 6:10 am Subject: PCWHD and ICD2 |
Hi all
Anyone has try ICD2 with CCS PCWHD Vers. 4.064 and MPLAB 8 ?
I have a problem CCS recognize ICD2 but when i enter in debug mode after loading ICDWarning 015 occour why? The pro ... |
Topic: Interrupt problem |
Sebastian
Replies: 14
Views: 16801
|
Forum: General CCS C Discussion Posted: Wed Feb 22, 2006 6:53 am Subject: Interrupt problem |
Thanks you Humberto , ckielstra i have add the following code
#if defined(__PCH__)
#bit ext_int0 = 0xFF2.1 // INTCON REGISTER ADDRESS FF2H BIT 0
#bit ext_int1 = 0xFF0.0 // INTCON3 ... |
Topic: Interrupt problem |
Sebastian
Replies: 14
Views: 16801
|
Forum: General CCS C Discussion Posted: Tue Feb 21, 2006 9:13 am Subject: Interrupt problem |
The remote rs 232 perform this operations.
Transmit six different command by means # int_ext and other two command by # int_ext1 and # int_ext2 to one slave board.
Slave answer always the same str ... |
Topic: Interrupt problem |
Sebastian
Replies: 14
Views: 16801
|
Forum: General CCS C Discussion Posted: Tue Feb 21, 2006 4:06 am Subject: Interrupt problem |
Thanks Humberto
The code working well , excuse me for my misunderstood.
There is only one problem.
When i power on the remote, the interrupts goes on one time for each one .
Why ? This is pa ... |
Topic: Interrupt problem |
Sebastian
Replies: 14
Views: 16801
|
Forum: General CCS C Discussion Posted: Wed Jan 18, 2006 10:02 am Subject: Interrupt problem |
Humberto says
sermssg
I decide to insert ,in the code, not in the answer of machine,(The machine respond only with 9 characters ETX is the last)the following code.
static int8 stringa ... |
Topic: Interrupt problem |
Sebastian
Replies: 14
Views: 16801
|
Forum: General CCS C Discussion Posted: Mon Jan 16, 2006 3:56 am Subject: Interrupt problem |
I suppose to be ascii characters in the string.
static int8 stringa
#IFDEF BUFFER_COMPARE //////////////////////////////////////////////////////////
if (memcmp(stringa,sermss ... |
Topic: Interrupt problem |
Sebastian
Replies: 14
Views: 16801
|
Forum: General CCS C Discussion Posted: Fri Jan 13, 2006 8:12 am Subject: Interrupt problem |
Excuse me I don't understand so much what you want tell me .
Your main problem is that you are doing string operations, but you
never terminate the strings with a byte of 0x00.
Why i mus ... |
|