How fast is the led blinking?
Ioannis
Type: Posts; User: Ioannis; Keyword(s):
How fast is the led blinking?
Ioannis
The answer is in the Error messages:
It says, " Add:" wsave VAR BYTE $20 SYSTEM
and also " Add:" wsave1 VAR BYTE $A0 SYSTEM
So, your code might look like this now:
Thanks Darrel. Yes I understand that it is too much to ask for your software to cover every variation that Microchip offers.
It was my part to find that, though I got a little confused by the Data...
Oh, I see.
I thought this was taken care by the DT-INTS.
Thanks Darrel,
Ioannis
I am trying to make an Interrupt on Rising Edge, PortB.0 on a 16F1827 chip.
When first POR the device, it send the message "Program started" and waits for the Interrupt.
When interrupt happens,...
Yes that is correct. So the Q_count variable is incrementing by 4.
Ioannis
Hi Al. I am using the #27 ISR.
The thing that I added was the check for the 4 counts before Q_Count variable is incremented or decremented.
Thats because the encoder I use produces 4 pulses on...
Excellent! Works terrific now.
These chips are a little pain in setting them.
Thanks Darrel.
Ioannis
Hi. I am trying to make this Rotary Encoder work with DT-INTS on a 16F1827 device.
It gets once in the interrupt routine and never seem to exit.
Here is the code so far driving me crazy.
...
A couple of resistors maybe are enough to isolate the ICSP from the rest of the circuit without need of any jumpers.
Ioannis
For the practical side, users just get a descriptive message as of what to do in the main program. This errors,that are instructions really, may scare a little. But they just tell you what to do.
...
Darrel has changed the way DT-INTs work now.
It may surprise but is far better now.
Happy burning :)
Ioannis
You have error messages that tell you exactly what to do:
Add wsave etc...
Look into your DT-INT-14.bas file at the first section that says:
;-- Place a copy of these variables in your Main...
OK. I got it. Was the goto main before Interrupt setup.
Sorry for my careless... A cupof coffee did the job!
Ioannis
Hi Darrel.
Well, with 3 toddlers running around till 10.30 pm sure I will have double CLEAR commands to clear my mind!
OK I moved the IOCB/WPUB before GOTO main but still no Interrupts occur.
...
Thanks all for the support.
Al.: We are testing the new DT-INTs version 1.10. Here as Darrel pointed out the wsave are set in the main program.
Darrel: You are correct in the Port change...
When compiling the attached file I get the attached error.
It drives me crazy....
Ioannis
DT-INTS version 1.00 or 1.10?
Ioannis
Hi. Yes I did included them. The sample was stripped down from the obvious.
Well, the new DT-INTs have changed a little I suppose.
OK, Darrel pointed what to do. I did uncomment the wsave1,2,3...
Sorry I did not fully understood what you mean...
With the old (version 1.00) there is no problem in compiling with RBC_INT interrupt. With 1.10 I get various errors like the ones posted.
Of...
I downloaded the latest version 1.10 for the DT-INTS14 and now I get a lot of errors.
Does anyone else has the same problem? With v1.0 had no error (but nothing was working either.... :( )
I...
I suppose you did commend the 4 lines starting with __CONFIG in the xxx.inc file inside your PBP directory, right?
Ioannis
Have tried to compile from command line and it went OK?
Ioannis
Alain, there is no problem here where the lines of includes are placed. Either on the very top or just before the macros... Are you sure about that?
Ioannis
No Bruce. They are in pbp directory and the project too.
It is not the first time I use these excellent routines.
That is why I post here. I am almost driving myself in the la-la land with...