dvg

Members
  • Content count

    2
  • Joined

  • Last visited

  1. Hi! I have read the Documentation, but could not understand how can i "catch" and interrupt, without a busy loop on it. Can i attach a timer to a function? sort of 'callbacks'? I see that some timers are connected to specific elements in the X3, but i'me looking to catch the interrupt in any global function. I think that i'm missing something basic about the using of the API, any help would be much appreciated, thanks.
  2. Hi, I'm building a simple c program for the basys mx3, I'm trying to have the screen blink every second, but with the ability to change operate in the meantime, for example blinking screen + hitting buttons for change letters on the screen. Because i don't want the device to 'freeze' during the waiting period (blink each second) i don't want to use "sleep(1)" Can i use the interrupts in the MX3 for this cause? can i somehow tell the device to send an interrupt every second, and create an "interrupt handler" that does XYZ operations? I've read the programming documentation, but without any example on that matter (callback functions for interrupts, etc.) thanks a lot for the help.