Loading ...
Sorry, an error occurred while loading the content.
 

Re: button tips

Expand Messages
  • 42Bastian Schick
    ... And if you use an interrupt-line you may use it to latch that button w/o generating an interrupt. So you won t miss a keypress between checks. -- 42Bastian
    Message 1 of 10 , Nov 30, 2002
      > Maybe, instead of interrupting the job by timer to scan the keys, you could
      > test the inputs at end of every (Nth) lap of the loop and if there is
      > anything pressed, abort playing the music at once and continue scanning
      > keys.

      And if you use an interrupt-line you may use it to latch that button w/o
      generating an interrupt. So you won't miss a keypress between checks.

      --
      42Bastian
      -------------------------------
      -- ENEA OSE Engineering GmbH --
      -- b.schick@... --
      -------------------------------
    Your message has been successfully submitted and would be delivered to recipients shortly.