Alain, keep eyes wide open, our friend don't even use the PORTA. As BigWumpus said, is much a matter of Using LOW statement on the same pin used for the initial test.
Maybe LOW PORTB.6 could be the answer.
Alain, keep eyes wide open, our friend don't even use the PORTA. As BigWumpus said, is much a matter of Using LOW statement on the same pin used for the initial test.
Maybe LOW PORTB.6 could be the answer.
Last edited by mister_e; - 27th May 2006 at 16:46.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Heuuuuu
What about MCLR ???
" TRISA = %00010000 'PORT A ALL OUTPUTS, EXCEPT MCLR IS INPUT "
You'll laugh ... I run his program on my test board !!! ... and it works ... in real life !!!
see : http://www.picbasic.co.uk/forum/showthread.php?t=3944
Alain
Last edited by Acetronics2; - 27th May 2006 at 16:58.
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
So, why does it run on your test board and not on mine?
And, I don't understand CIMCON = 7, it is a register so shouldn't it be
CIMCON = %0001001 ? And what does that do?
My circuit is this: except the switch only goes to ground since I enabled the internal pullups.
Hmmm, I just noticed that my schematic is not up to date: the inputs are RB4 & RB5, the outputs are RB6 & RB7.
Last edited by Russ Kincaid; - 28th May 2006 at 02:45.
1. I see no 0,1uF-ceramic-condensator near the VSS/VDD-pins.Originally Posted by Russ Kincaid
2. I see no bits to turn on the pull-ups inside your program.
3. Read the part on the comperators and the CMCON-register in the manual, tell use what you're CIMCON-register is.
4. Using RB4 ? You has disabled LVP in your fuses ?
...I'm dreaming of mr. eng4444 ! (he's back!!!! ;-) )
Give us more informations, if you want to get some help. Just list your program here!
Last edited by BigWumpus; - 28th May 2006 at 20:28.
PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2
Hi,Russ
If you use RB2 and RB3 as switches ... and test the led outputs instead of the switches ... There's no chance it could work properly.
I know that doesn't solve the oscillator question ... but ...
Alain
PS : try to work on ONE scheme at a time ... it will be easier for us to follow you !!!
************************************************** ***********************
Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
************************************************** ***********************
IF there is the word "Problem" in your question ...
certainly the answer is " RTFM " or " RTFDataSheet " !!!
*****************************************
Bigwumpus gave me the clue: I disabled low voltage programming and it works! Thanks to all.
Russ
Bookmarks