In a Interrupt i cant Call a READMEAN because when compiled, All go wrong in my EasyPIC (No LCD Etc....).
Is anybody can Help Me.
Problem with READMEAN in Interrupt
Moderators: David Barker, Jerry Messina
Problem with READMEAN in Interrupt
My first interest is working with a PWM signal.
Motor : 24 Volts 4 or 5 A.
Motor : 24 Volts 4 or 5 A.
have tryed to put Save and restore ?
Hello,
I have tryed to put Save and restore (Like page 46 of guide) with sub routine, but i have the compiler error message on line INTERRUP CLK() => Working register alocation faillure...
sub MOT()
ADC1 = ADC.read(0) ....for example
End sub
Interrupt CLK()
Save(0,MOT)
MOT()
Restore
End Interrupt
I have tryed to put Save and restore (Like page 46 of guide) with sub routine, but i have the compiler error message on line INTERRUP CLK() => Working register alocation faillure...
sub MOT()
ADC1 = ADC.read(0) ....for example
End sub
Interrupt CLK()
Save(0,MOT)
MOT()
Restore
End Interrupt
My first interest is working with a PWM signal.
Motor : 24 Volts 4 or 5 A.
Motor : 24 Volts 4 or 5 A.