Thas i need to put WDT OFF or not?
Yes im going to use low pullup pushbuttons rhas i have to do one more line code for it?
Im very confuse![]()
Thas i need to put WDT OFF or not?
Yes im going to use low pullup pushbuttons rhas i have to do one more line code for it?
Im very confuse![]()
I wouldn't worry about it...
Sounds like you might need to back up a bit and work on the simple stuff first, i.e. make the blinky LED, make the LED follow a single button under SOFTWARE CONTROL, and so on and so on...build up to what you need.Yes im going to use low pullup pushbuttons rhas i have to do one more line code for it?
This 'jumping in with both feet' approach doesn't seem to be working out too well...
Up in post#5 you are setting the fuses in code space. Have you commented out the lines in the *.inc file?
http://www.picbasic.co.uk/forum/showthread.php?t=543
Read post #1 and #5...
And I do not see how the OSC is set or a
?? being the speed.Code:DEFINE OSC ??
Dave
Always wear safety glasses while programming.
When you're using PM, you shouldn't need to bother with it. Just to confirm it, i just uncommented the one in a .INC file and write over them... no compilation errors for PM, and the config fuses are set as expected when i look them in my PIC Programmer software.
If no OSC is defined, PBP will consider 4 MHz.. no big deal. Default XT fuses for PM is XT. it seems to have some activity, seems something work, i worry more about the program flow. I'm still trying to understand what the OP need to do
Camolas, can you ask your question in your own language (i feel spanish) so maybe someone else here could help you to translate it for us (maybe google translation but)
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Hi again,
Im Portugese next Europen winers cup (lol i hope)
In Portugese:
Pretendo controlar com um botao low pullup (ou mais se for necessario) um led da seguinte forma.
-Quando o botao esta desligado demore 40s a acender o led e depois fique aceso durante 3s.
Depois de apagado fique a espera de outro sinal (aqui podera ser um outro botao ou entao o mesmo quando fique no estado de ligado) e so volte a fazer a mesma rutina depois que o botao seja desligado led aceso.... ........
Now more dificult in my best Inglish:
I need to control a led with one low pullup pushbutton (or more if neded) to perform this tasck.
-Wen pushbutton is not pressed tacks 40s then turn on led for 3s.
So the led is now off then the code must whait for another signal ( i can use one more pushbutton or the same because e is on at this time) and then when this signal go to off e stars the rutine again, Wen pushbutton is not pressed tacks 40s then turn on led for 3s...
Thanks all
camolas,
Do you have a schematic you could post?
Dave
Always wear safety glasses while programming.
Bookmarks