PDA

View Full Version : MIBAM on 16F628



idtat
- 18th February 2009, 01:03
Hi all, Darryl your MIBAM is awsome. Wonderfull RGB LED fades. I am trying to use my TV IR remote to adjust the color in a lamp I am making for my wife and am running into problems with either the PULSEIN (to read the remote) or the SEROUT (for debuging) I will determin which when I get to my work bench. Would the MIBAM module take resources from either of these two PBP commands? The IR/Serial debug and the MIBAM programs work great on there own but when I try to combine them I nolonger get debug info out. I will post my code when I have something working a bit better.

Aaron

Darrel Taylor
- 18th February 2009, 04:05
Any statements that are timed by software ... Pulsin/out, Serin/out, pause, Debug and others will be disturbed by interrupts. That's just the nature of interrupts.

You should use Hardware whenever possible.
For serial data, use the USART.
Don't know how you'll read the IR.
<br>

idtat
- 18th February 2009, 12:42
Thanks again for the MIBAM Darryl, I suspected as much with the interupts but was not positive. I guess my lamp project will just have to have 2 PICs. one for the MIBAM and one for the IR decode

Aaron