Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pinguino 4550 - IR Remote Control Decoding
03-06-2017, 01:01 PM,
#9
RE: Pinguino 4550 - IR Remote Control Decoding
(03-06-2017, 12:16 AM)derf158 Wrote:
(02-06-2017, 08:20 PM)Aldeen19 Wrote: [quote pid='12598' dateline='1496425705']
Aldeen,
 I will try this on V11 i am using V12 i use the hex value on thing to note in irremote.c a value needs to be changed see  the code i changed 50 to 26

Code:
// nb cycles for 50us
   _tmr_reload_val = ( System_getPeripheralFrequency() / 1000 / 1000 ); // 1us = 12 cycles @ 48MHz
   _tmr_reload_val *= 26; // 50us = 50 * 12 cy @ 48MHz
  // _tmr_reload_val *= 50; // 50us = 50 * 12 cy @ 48MHz
   _tmr_reload_val = 0xFFFF - _tmr_reload_val;

Fred, thank you for your prompt reply.
I tried changing 50 to 26 which is included in the file IRremote.c - located in the path : C:\Pinguino\v11\p8\include\pinguino\libraries but no change!  I feel sad.

Aldeen,
 i just tried the irremote in V11 with the change from 50 to 26 it works. did you decode the ir remote you have?
[/quote]

Fred,
With 26 uSec setting, now decoding has stopped although the USER led flashes with incoming signals. 
I tried even with a different remote unit it still the same, no decoding .. what does that suppose to mean?
Aldeen19
Reply


Messages In This Thread
RE: Pinguino 4550 - IR Remote Control Decoding - by Aldeen19 - 03-06-2017, 01:01 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)