Hello everybody!
I am new on this forum and this is my first letter.
First, sorry for my english, it is not my native language - but i shall try !
Well, I am trying to experiment with my EasyPIC3 board from Mikroelektronika with PIC18F4550 installed, compiler is MPLAB C18 Student Edition in MPLAB IDE v.8.15a.
What is confusing me is the sofrware "mechanaism" of interrupts in C18. Let me be more precise: I know how stuff works in hardware but (for the first time) I saw the code for interrupt routine in C!!!
So what is my question: Mr.Pommie, can You give us a lesson (in the letter on this forum or in the article) what is what in this #pragma-s, why are you using asm code etc.
I think that people will agree with me that only precise and detailed explanation with the example will give the result.
Please, Mr.Pommie, spent some time and do it for us!
Best regards from Peca.
I am new on this forum and this is my first letter.
First, sorry for my english, it is not my native language - but i shall try !
Well, I am trying to experiment with my EasyPIC3 board from Mikroelektronika with PIC18F4550 installed, compiler is MPLAB C18 Student Edition in MPLAB IDE v.8.15a.
What is confusing me is the sofrware "mechanaism" of interrupts in C18. Let me be more precise: I know how stuff works in hardware but (for the first time) I saw the code for interrupt routine in C!!!
So what is my question: Mr.Pommie, can You give us a lesson (in the letter on this forum or in the article) what is what in this #pragma-s, why are you using asm code etc.
I think that people will agree with me that only precise and detailed explanation with the example will give the result.
Please, Mr.Pommie, spent some time and do it for us!
Best regards from Peca.