BobMcNobby
Senior Member
I have a rather complex program (too complex to post here)
But basically if I set up the following code everything runs fine
#picaxe 28x2
SetFreq em64 ' set micro to run at 64 mhz !
adcsetup = %0000000000000001 ' set adc to pin 0
tmr3setup %00110011 ' timer3 set to 1/8 prescaler
main:
w27 = timer3 ' grab timer val
b0 = w27 >> 8 ' MSB
b1 = w27 & %11111111 ' LSB
PWMOUT C.1,64,b0 ' stuff MSB to scope
PWMOUT C.2,64,b1 ' stuff LSB to scope
goto main
HOWEVER... if I start using program slots to extend the length of my program, TIMER3 stops working !! (
My code works perfectly well jumping back and forth on the slots, its just the timer
Not sure if this is intentional, a bug or just me
Thanks in advance for any help
Bob
But basically if I set up the following code everything runs fine
#picaxe 28x2
SetFreq em64 ' set micro to run at 64 mhz !
adcsetup = %0000000000000001 ' set adc to pin 0
tmr3setup %00110011 ' timer3 set to 1/8 prescaler
main:
w27 = timer3 ' grab timer val
b0 = w27 >> 8 ' MSB
b1 = w27 & %11111111 ' LSB
PWMOUT C.1,64,b0 ' stuff MSB to scope
PWMOUT C.2,64,b1 ' stuff LSB to scope
goto main
HOWEVER... if I start using program slots to extend the length of my program, TIMER3 stops working !! (
My code works perfectly well jumping back and forth on the slots, its just the timer
Not sure if this is intentional, a bug or just me
Thanks in advance for any help
Bob