Author |
Message |
Topic: Help with int_EXT |
rina_1220
Replies: 3
Views: 6399
|
Forum: General CCS C Discussion Posted: Mon Jul 21, 2008 8:02 am Subject: Help with int_EXT |
Hey, Ttelmah and RLScott. Thank you for your help. I could not make it work the way Ttelmah said. I was still having to press the button twice even with that code. What solved my problem was this:
#i ... |
Topic: Help with int_EXT |
rina_1220
Replies: 3
Views: 6399
|
Forum: General CCS C Discussion Posted: Fri Jul 18, 2008 7:50 am Subject: Help with int_EXT |
Hey all. I am having a problem with my external interrupt. I want it to put the processor to sleep once a button is pressed and to wake up as the same button is pressed again. I don't know what happen ... |
Topic: Help with KBD |
rina_1220
Replies: 2
Views: 3634
|
Forum: General CCS C Discussion Posted: Tue Jul 15, 2008 11:04 am Subject: Help with KBD |
thank you |
Topic: Help with KBD |
rina_1220
Replies: 2
Views: 3634
|
Forum: General CCS C Discussion Posted: Mon Jul 14, 2008 12:51 pm Subject: Help with KBD |
Hey all! I have something here with a keypad and it is working fine. But I have to make some modifications in order to improve what's already done and make it more functional.
I would like to know if ... |
Topic: PIC18F1320 Hardware RS232 Problem |
rina_1220
Replies: 9
Views: 10773
|
Forum: General CCS C Discussion Posted: Thu Nov 22, 2007 6:08 am Subject: PIC18F1320 Hardware RS232 Problem |
I think I did understand.
Thanks |
Topic: PIC18F1320 Hardware RS232 Problem |
rina_1220
Replies: 9
Views: 10773
|
Forum: General CCS C Discussion Posted: Tue Nov 20, 2007 12:37 pm Subject: PIC18F1320 Hardware RS232 Problem |
is this just PIC18 family that has this behavior? I have never seen it happen with PIC16F |
Topic: PIC18F1320 Hardware RS232 Problem |
rina_1220
Replies: 9
Views: 10773
|
Forum: General CCS C Discussion Posted: Tue Nov 20, 2007 10:06 am Subject: PIC18F1320 Hardware RS232 Problem |
I have tested the following code
#include <18f1320.h>
#FUSES INTRC_IO, NOWDT, NOPROTECT, PUT, NOBROWNOUT, NOLVP, NOMCLR, NOFCMEN, NOSTVREN, DEBUG
#use delay(clock=4000000)
#u ... |
Topic: PIC18F1320 and digital I/O pin config |
rina_1220
Replies: 6
Views: 7425
|
Forum: General CCS C Discussion Posted: Mon Nov 19, 2007 7:42 pm Subject: PIC18F1320 and digital I/O pin config |
I am going to check that again when I get the chance.
Thank you again
The led on pin b0 was not grounded. that was the problem. |
Topic: PIC18F1320 and digital I/O pin config |
rina_1220
Replies: 6
Views: 7425
|
Forum: General CCS C Discussion Posted: Mon Nov 19, 2007 6:59 pm Subject: PIC18F1320 and digital I/O pin config |
yeah. I have one 330ohm resistor between the led and the port. And I had 2 different leds tested on both ports. they only work on pin b3.
another thing is that if I connect pin b0 to an osciloscope ... |
Topic: PIC18F1320 and digital I/O pin config |
rina_1220
Replies: 6
Views: 7425
|
Forum: General CCS C Discussion Posted: Mon Nov 19, 2007 3:50 pm Subject: PIC18F1320 and digital I/O pin config |
#include <18f1320.h>
#byte port_b=0xF81
#byte OSCCON=0xFD3
#byte LATB=0xF8A
#byte ADCON1=0xFC1
right?
But tell me. Do you know why the other LED on pin_B3 worked fine and ... |
Topic: PIC18F1320 and digital I/O pin config |
rina_1220
Replies: 6
Views: 7425
|
Forum: General CCS C Discussion Posted: Mon Nov 19, 2007 8:08 am Subject: PIC18F1320 and digital I/O pin config |
Hey all. I need some help with port_b configuration for pic18f1320.
I have set a small routine to test if my program is working fine and I have a problem with pins B0, B1 and B4.
My routine would ... |
Topic: HELP with KBD |
rina_1220
Replies: 12
Views: 10902
|
Forum: General CCS C Discussion Posted: Tue Oct 09, 2007 11:32 am Subject: HELP with KBD |
Hey, Thank you!
I've made the changes according to what you said and its working now.
I still didn't understand why it didn't work in port c with external resistors, but now its working ok.
thank ... |
Topic: HELP with KBD |
rina_1220
Replies: 12
Views: 10902
|
Forum: General CCS C Discussion Posted: Tue Oct 09, 2007 10:42 am Subject: HELP with KBD |
These are the flex drivers.
But I get the same errors with the CCS ones.
my pin assignments are:
//Keypad connection:
#define col0 PIN_C0
#define col1 PIN_C1
#define col2 PIN_C2
#define ... |
Topic: HELP with KBD |
rina_1220
Replies: 12
Views: 10902
|
Forum: General CCS C Discussion Posted: Tue Oct 09, 2007 7:55 am Subject: HELP with KBD |
anyone? |
Topic: new to ccs - need help with code |
rina_1220
Replies: 7
Views: 6181
|
Forum: General CCS C Discussion Posted: Mon Oct 08, 2007 6:01 am Subject: new to ccs - need help with code |
well, I've never worked with PIC18F8722, but as i was observing your code, besides what was said about the NOLVP fuse, you should take a look at these parts:
Tell me what's working and what's not. ... |
|