Author |
Message |
Topic: btfsc instruction converted in CCS C |
horde_fuego
Replies: 4
Views: 7054
|
Forum: General CCS C Discussion Posted: Mon Jul 13, 2009 2:14 am Subject: btfsc instruction converted in CCS C |
To bungee and PCM programmer,
Thank you very much for the replies. This will surely help me in my program. Thanks a lot!!
-horde |
Topic: btfsc instruction converted in CCS C |
horde_fuego
Replies: 4
Views: 7054
|
Forum: General CCS C Discussion Posted: Sun Jul 12, 2009 9:32 pm Subject: btfsc instruction converted in CCS C |
good morning everyone!!
how do i write a code in CCS which performs the same routine that the btfsc (assembly language instruction in MICROCHIP) does?
thanks!! |
Topic: 2 simultaneous low inputs not working |
horde_fuego
Replies: 5
Views: 5006
|
Forum: General CCS C Discussion Posted: Wed May 20, 2009 8:53 am Subject: 2 simultaneous low inputs not working |
Thank you very much for your response! I will try this now. :grin:PIN_A0 and PIN_A1 correspond to sensors output and each pin is connected separately to a 2 2-input AND gate, and also ... |
Topic: 2 simultaneous low inputs not working |
horde_fuego
Replies: 5
Views: 5006
|
Forum: General CCS C Discussion Posted: Tue May 19, 2009 9:55 pm Subject: 2 simultaneous low inputs not working |
I tried changing it to this statement:
if(input(PIN_A0))
{
output_high(PIN_B0);
delay_ms(1200);
output_high(PIN ... |
Topic: Code to split a number in digits (for 7-seg displays) |
horde_fuego
Replies: 5
Views: 51487
|
Forum: Code Library Posted: Tue May 19, 2009 7:51 am Subject: Code to split a number in digits (for 7-seg displays) |
Hello! Can you give a simple example using this technique? Thanks! |
Topic: 2 simultaneous low inputs not working |
horde_fuego
Replies: 5
Views: 5006
|
Forum: General CCS C Discussion Posted: Tue May 19, 2009 7:32 am Subject: 2 simultaneous low inputs not working |
hello good evening to everyone!
from the code below, why is it for example that when both PIN_A0 and PIN_A1 are pulled high simultaneously there is still an output at port B and the output is from on ... |
Topic: i2c in PIC16F84A |
horde_fuego
Replies: 3
Views: 4545
|
Forum: General CCS C Discussion Posted: Sat May 16, 2009 5:03 am Subject: i2c in PIC16F84A |
thank you very much!!!i'll try it now! |
Topic: i2c in PIC16F84A |
horde_fuego
Replies: 3
Views: 4545
|
Forum: General CCS C Discussion Posted: Fri May 15, 2009 4:14 am Subject: i2c in PIC16F84A |
Is this possible with PIC16F84A alone? I need more i/o pins but unfortunately we don't have any PIC16F877A or any other PICs. Will the command from CCS C like i2c_start() or i2c_read work even if it d ... |
Topic: Toggle Port B 16f877 |
horde_fuego
Replies: 9
Views: 13433
|
Forum: General CCS C Discussion Posted: Mon May 11, 2009 6:15 am Subject: Re: Toggle Port B 16f877 |
I have been writing code in ASM which all works fine, and now writing the same code using CCS, however I'm having trouble with the basics of simply toggling portb output pins.
When I monitor the sp ... |
Topic: TRISA instruction is deprecated for PIC1684 |
horde_fuego
Replies: 3
Views: 12568
|
Forum: General CCS C Discussion Posted: Fri Apr 24, 2009 9:48 am Subject: TRISA instruction is deprecated for PIC1684 |
thanks PCM programmer!!!from what i have read, does this mean that using set_tris_x instruction is alright & there is nothing wrong with the log?and it's okay if its the old PIC16f84A?
anyways th ... |
Topic: TRISA instruction is deprecated for PIC1684 |
horde_fuego
Replies: 3
Views: 12568
|
Forum: General CCS C Discussion Posted: Fri Apr 24, 2009 5:07 am Subject: TRISA instruction is deprecated for PIC1684 |
From proteus simulation log: TRISA instruction is deprecated for PIC1684
TRISB instruction is deprecated for PIC1684
Hello everyone!! I am a beginner in P ... |
|