Re: Interrupt handling Kategorie: Programmierung Assembler (von Torsten - 14.04.2014 20:10) | ||
Als Antwort auf Re: Interrupt handling von PepeV - 9.04.2014 20:14 | ||
| ||
> Hi Torsten, > > Your assembly program really is an eye opener for me. Never thought > it would be so simple. > > Your Perl solution is nice but I would prefer not to use Perl > since I have no experience with it and learning it would take > quite some time. Hello Pepe, the programming language doesn't matter. I had never thought that you should write the program or learn a new programming language. We only need a language with regular expressions to extract the address. And perl is the easiest way to do that. We need no more than 10 lines code. GruÃ? Torsten > > From your solution I deduce that there is no way to change the > interrupt vectors during run time. Am I correct? > > In that case I think I will handle the wheel encoder interrupts > in the record or playback assembly routine by polling the > interrupt flag. The only thing that has to be done is to increase > a global variable so this should not cost too much time. At least > I hope that it will not interfere with the recording or playback. > > Regards, > Pepe | ||
Antwort schreiben Antworten: |
Zur Übersicht - INFO - Neueste 50 Beiträge - Neuer Beitrag - Suchen - Zum C-Control-I-Forum - Zum C-Control-II-Forum