Page 2 of 2

Re: IR-lib and long Raw seqences

Posted: 31 Mar 2017 11:43
by schmidmi
Thanks for your help!
At the moment I'm very busy also.
I will check it out later....

Re: IR-lib and long Raw seqences

Posted: 02 Apr 2017 17:09
by schmidmi
Hi!
Today I had a look to the GPT sketch provided by you.
In the fist Step I tried to find the missing modulation, and I found it.
In your sketch there is a line which multiplies the value in the raw data by for.
You have done this, because a tick of the GPT is 0.25 u seconds and the values in the raw data array are given in u seconds. When using the values without this line, I get a modulation.
So I assume there is something wrong in the GPT, because it should accept values up to 65535. The fist intervals in my raw data have values of 13520 and 3500 after the multiplication. So it should work, but it doesn't!

The second problem I saw is an instable output sequence. In every loop being processed, I get a different output sequence. This may be caused by the time, the controller needs to toggle the output? and als by the behaviour of the GPT being reloaded in the GPT handler?
At the end I can't use the sketch to go on.
Maybe there are some bugs in your GPT??? I don't know....