4 Replies Latest reply on Jul 11, 2016 3:41 PM by Intel Corporation

    Regarding Intel edison C/C++ eclipse IDE with Timer interrupt

    rahul147258

      Hi,

      I am performing coding in order to read the from sensor in real time. I have hard coded so that in real time for every one second I should able to get data and after performing ISR it has to come back.

      now I will share u the code..

      now u can see that everytime 1 second interrupt will occur and will execute ISR.(siglrm_handler).now the problem is kernel is not able to send back the program in main function its keep updating in ISR. i mean  in main the "Cout" statement is not executing. Can u tell me reason??

      Can anyone provide the code by which I can able to read the real time data for one second.???

      And Why Interrupt is not coming back to  main Function??

      Y it stays only In ISR..

       

      Thanks