I need to use timer but I can't find any information about timer in Edison. Is there any? I want to read some value from pin in some frequency. Maybe is another way to do that? Thanks in advance!
You can create timers in your code to accomplish this; there are some libraries that may help you with this.
Let us know more about the requirements you need in order to give you a better approach.
Thanks for reply! I'm sorry. I forgot to write about it. I'm writing C project and I have two paremeter S0 and S1 to modify frequency.
OUTPUT FREQUENCY SCALING (fo)
LL Power down L L Red
I want to read some variable OUT and in Arduino example code is timer like this one:
//the clock frequency source 1024 points
//10 ms overflow again
The code you are using is for Arduino and it registers so there could be some poblems while using this code with the Edison.
There are some threads that you may find helpful related to timers:
In here: https://madalanarayana.wordpress.com/2014/01/25/create-your-own-timer-routine-in-linux/ Create your own timer routine in Linux | My Linux and Telecom Experiences you will find a timer example for C.