4 Replies Latest reply on Nov 28, 2014 1:19 AM by mhahn

    How to setup interrupt in native linux program?


      I am using Eclipse for the galileo gen2 development.

      There are only a few sample projects available (LED blink, analog input, i2c etc).

      I would like to set up timer interrupt just like in Arduino sketch (ISRBlink) but this time is in native linux program.

      I have tried to use the existing Arduino codes (interrupt.c) but it seems like there are a lot of files to include in order to run the functions.

      Anyone have any sample code or idea where should I start?