Author |
Message |
Topic: PIC12F629 interrupt on change |
test153
Replies: 4
Views: 11688
|
Forum: General CCS C Discussion Posted: Tue Mar 24, 2009 11:55 am Subject: PIC12F629 interrupt on change |
Would something like enable_interrupts(INT_RA3); work to only enable interrupt on GP3? |
Topic: Software RS232 |
test153
Replies: 4
Views: 7677
|
Forum: General CCS C Discussion Posted: Tue Mar 24, 2009 3:21 am Subject: Software RS232 |
As for the GND connection, as you pointed out it must be present or funny things start to happen...
But what if I decide to use for example the FTDI FT232R should I then connect the ground to the U ... |
Topic: PIC12F629 interrupt on change |
test153
Replies: 4
Views: 11688
|
Forum: General CCS C Discussion Posted: Tue Mar 24, 2009 2:46 am Subject: PIC12F629 interrupt on change |
How do I properly enable interrupt on change for GP3 on the 12F629? |
Topic: Software RS232 |
test153
Replies: 4
Views: 7677
|
Forum: General CCS C Discussion Posted: Mon Mar 23, 2009 11:43 am Subject: Software RS232 |
Thanks.
Finally I think I can make my RS232 working. |
Topic: USB pen drive with pic |
test153
Replies: 3
Views: 5903
|
Forum: General CCS C Discussion Posted: Mon Mar 23, 2009 11:24 am Subject: USB pen drive with pic |
You could use the [url=http://www.vinculum.com/prd_vnc1l.html]FTDI Vinculum and connect it to a suitable pic. |
Topic: Software RS232 |
test153
Replies: 4
Views: 7677
|
Forum: General CCS C Discussion Posted: Mon Mar 23, 2009 11:18 am Subject: Software RS232 |
I'm using bit-bang RS232 on a pic12F629 with is connected without a level converter (such as the max232). Should I use the INVERT option or not?
In the CCS C help I found this:
Check the level co ... |
Topic: 12F629 reset latching problem |
test153
Replies: 14
Views: 12436
|
Forum: General CCS C Discussion Posted: Tue Mar 17, 2009 2:27 am Subject: 12F629 reset latching problem |
I finally solved the problem. When I connected the curcuit to the external power I didn't connect the VPP line (which handles the RS232 communication), so GP3 was a 0 - and the program was designed to ... |
Topic: 12F629 reset latching problem |
test153
Replies: 14
Views: 12436
|
Forum: General CCS C Discussion Posted: Mon Mar 16, 2009 5:56 am Subject: 12F629 reset latching problem |
Well I added the current limiting resistors, 56ohm (the reason why I didn't put them in in the first place was that I got the wrong info for them from the site I bought it on). Anyhow I doesn't work a ... |
Topic: 12F629 reset latching problem |
test153
Replies: 14
Views: 12436
|
Forum: General CCS C Discussion Posted: Thu Mar 12, 2009 1:57 am Subject: 12F629 reset latching problem |
I tried with BROWNOUT as well as with PUT and it makes no difference. Any other suggestions? |
Topic: 12F629 reset latching problem |
test153
Replies: 14
Views: 12436
|
Forum: General CCS C Discussion Posted: Wed Mar 11, 2009 5:40 pm Subject: 12F629 reset latching problem |
I know it's a bad idea to draw current from the serial port - so I do use a bench power supply, and that where the problem comes in. As I said before if I use the power from the serial port trough the ... |
Topic: 12F629 reset latching problem |
test153
Replies: 14
Views: 12436
|
Forum: General CCS C Discussion Posted: Wed Mar 11, 2009 4:50 pm Subject: 12F629 reset latching problem |
Here is the http://img5.imageshack.us/img5/4022/lightq.jpg |
Topic: 12F629 reset latching problem |
test153
Replies: 14
Views: 12436
|
Forum: General CCS C Discussion Posted: Wed Mar 11, 2009 4:12 pm Subject: 12F629 reset latching problem |
The reason why I asked was that the pic is doing strange things, I'm using delay_us to blink some LEDs and when I connect the pic directly to 5V the LEDs begin to flash instead of being illuminated, a ... |
Topic: 12F629 reset latching problem |
test153
Replies: 14
Views: 12436
|
Forum: General CCS C Discussion Posted: Wed Mar 11, 2009 3:33 pm Subject: 12F629 reset latching problem |
As I understood the 12F629 has some kind of [url=http://ccsinfo.com/forum/viewtopic.php?p=111686]reset latching problem and the supply voltage need to be clean.
Is having a decoupling capacitor (0 ... |
Topic: Multiplexing LEDs |
test153
Replies: 19
Views: 23204
|
Forum: General CCS C Discussion Posted: Sat Mar 07, 2009 8:35 am Subject: Multiplexing LEDs |
So I think we can agree that driving 3 LEDs at once is not such a good idea. How about the last code I posted? I'm reposting the last code again with an minor modification to the delay part.
char ... |
Topic: Multiplexing LEDs |
test153
Replies: 19
Views: 23204
|
Forum: General CCS C Discussion Posted: Fri Mar 06, 2009 11:24 am Subject: Multiplexing LEDs |
Would something like this work in practice? I have chosen to only light 1 LED at a time because of the risk of overloading an "output low" port. It works in the simulator and I think it will ... |
|