Author |
Message |
Topic: Problem with CCP module in capture mode and interrupts |
renobaron
Replies: 4
Views: 10868
|
Forum: General CCS C Discussion Posted: Mon Oct 12, 2015 12:27 pm Subject: Problem with CCP module in capture mode and interrupts |
OK now I understand what was happening. Thank you very much for taking the the time to reply.
Best regards, Reno |
Topic: Problem with CCP module in capture mode and interrupts |
renobaron
Replies: 4
Views: 10868
|
Forum: General CCS C Discussion Posted: Mon Oct 12, 2015 11:43 am Subject: Problem with CCP module in capture mode and interrupts |
Problem solved! Thank you |
Topic: Problem with CCP module in capture mode and interrupts |
renobaron
Replies: 4
Views: 10868
|
Forum: General CCS C Discussion Posted: Mon Oct 12, 2015 11:11 am Subject: Problem with CCP module in capture mode and interrupts |
Hello
I am working with the CCP module of the PIC16F628A, in capture mode.
To test it I made a simple program:
Here is my test code (explained below):
#include <main.h>
/*
Glob ... |
Topic: PIC18F2550 pin C5 input state "latching" [SOLVED] |
renobaron
Replies: 3
Views: 7834
|
Forum: General CCS C Discussion Posted: Thu Oct 10, 2013 11:39 am Subject: Solved |
Wiring the resistors as pullups solves the problem. Seemed like a complex problem, but sticking to the standard practices can save you lots of problems! Thank you again PCM Programmer |
Topic: PIC18F2550 pin C5 input state "latching" [SOLVED] |
renobaron
Replies: 3
Views: 7834
|
Forum: General CCS C Discussion Posted: Thu Oct 10, 2013 11:16 am Subject: PIC18F2550 pin C5 input state "latching" [SOLVED] |
Thanks for your reply!
I will change the pulldown resistors for pullups and post my results.
I made a mistake with the RB2 thing. The actual code is as follows (fragment):
#define LED1 PIN_B ... |
Topic: PIC18F2550 pin C5 input state "latching" [SOLVED] |
renobaron
Replies: 3
Views: 7834
|
Forum: General CCS C Discussion Posted: Wed Oct 09, 2013 11:00 pm Subject: PIC18F2550 pin C5 input state "latching" [SOLVED] |
Hello everyone!
I'm working with the 18F2550, trying to read pin C4 and C5. (Already disabled USB functions from those pins)
I made a small code to show the problem. It is supposed to turn on LED1 ... |
|