augustinetez
Active Member
Just going back to your previous comment about not being able to use it in polling mode.
I'm trying to learn C by converting an existing project written in asm - the existing project polls the encoder and some switches constantly until something happens and then goes of and processes that. It then returns to polling the encoder.
There is an interrupt process in my original program that saves any changed data after a time delay (setable between 1 & 255 seconds at compile time).
So I would like to keep any C functions in their seperate little boxes corresponding to how the asm file is laid out to make it easier for me to get my brain around how indiviual bits work - if that makes sense.
I'm trying to learn C by converting an existing project written in asm - the existing project polls the encoder and some switches constantly until something happens and then goes of and processes that. It then returns to polling the encoder.
There is an interrupt process in my original program that saves any changed data after a time delay (setable between 1 & 255 seconds at compile time).
So I would like to keep any C functions in their seperate little boxes corresponding to how the asm file is laid out to make it easier for me to get my brain around how indiviual bits work - if that makes sense.