what about
Code:
setup: ; entra en la configuracion de la circunferencia
INTCON.7=0 'disable all interrupt
WHILE portb.2
x = circunferencia
for demora = 1 to 20
gosub display
next
if portb.3 = 0 then
circunferencia = circunferencia + 1
if circunferencia > 215 then 'lets say its=216
circunferencia = 0
endif
endif
WEND
INTCON.2=0
INTCON.1=0
INTCON.7=1 'enable all interrupt
return
and what about if you rename setup to Mysetup? timer to MyTimer?
Redefine all your math variable to WORD size can also do something. Case not, i'll try it on-board. Looks weird.
Could you axplain, brief, how your hardware/software is suppose to work? And if you can provide some schematic too it can be handy.
Last edited by mister_e; - 25th January 2005 at 03:35.
Steve
It's not a bug, it's a random feature.
There's no problem, only learning opportunities.
Bookmarks