Converting basic methods from C# to C in order to execute them faster,
is not a big problem, but once it get’s down to all this native cpu stuff I’m lost.
I have taken a look at the examples in the RLP zip file,
but there’s to much information there which I don’t understand.
What I want to do is hopefully simple.
On the managed side I want to generate data (a byte).
This data will be generated at random times, triggered by external factors.
Then I want to set up a “timer” in RLP. Every time the timer is triggered,
it should fetch the byte from C# (as you cannot pin byte arrays in the native code right?)
and process it.
I’ve seen the Timer1_Init and PIN_ISR methods in the examples,
but I have absolutely no idea what information is relevant to me…
Can somebody show me a skeleton solution,
that only includes what is absolutely required to achieve what I want to do ?
And when cpu level stuff is included, perhaps try to explain it to me as if I’m a total n00b ?