Jump to content
43oh

olivluca

Members
  • Content Count

    51
  • Joined

  • Last visited

  • Days Won

    1
  1. Well, maybe it depends on the user and not on the browser (with javascript disabled it's a simple link, it would work the same with lynx or mosaic 1.0).
  2. @@zeke, mark community read works, but it marks as read every section (oops), the one that doesn't work is the mark this forum as read in each subforum. @@bluehash, tried that and still have the problem. I also tried logging out and logging in again using the email instead of the username. It didn't work either (I didn't expect it to since I started seeing the problem before the merge). Doesn't the error code [#20312.1] help pinpoint the problem? Edit: I also tried with chrome (I normally use firefox) but I have the same problem (I tried with javascript disabled since javascript hides th
  3. With javascript disabled it gives me a "Sorry, you don't have permission for that!" message, while with javascript enabled it appears to work (the topics show as read) but it really doesn't (reloading the forum they show as unread). It worked 2 days ago. Edit: the above error message has this error code attached: [#20312.1]
  4. I have one of those in my car powering an arduino pro mini. It's been working fine for more than a year.
  5. The last time I tried IRsend with an msp430 I found that the timing was off by more than 10% and sometimes the led would remain on. See here: http://forum.43oh.com/topic/5396-irremote-library-sometimes-leaves-led-on/ I don't know if either problem has been fixed in the meantime
  6. The patch to the library is definitely needed to avoid keeping the led on at the end of every MARK, the delays are in post #3 (560/1690 microseconds). I don't think the 9000/4500 ones matters too much, but maybe they do.
  7. I just tried the code on an arduino pro mini and it works without modification, so either the port to energia is wrong or the delayMicroseconds function is way off. As I don't have a scope I cannot say exactly, but I suspect the latter. Worthy of a bug report?
  8. @@StefanWxx, I see that you had to reduce the mark/space timing by 10-15% wrt the timings in the arduino posts. This is consistent to what I had to do to get the NEC protocol working. I also have a (probably not 100% correct) solution for the led remaining on. See http://forum.43oh.com/topic/5396-irremote-library-sometimes-leaves-led-on/ for details. Edit: BTW, from the look of it, I'd say that samsung too is using the NEC protocol, so probably there is no need to add a separate sendSamsung function.
  9. That would be well within the 10% tolerance of a receiver, so either the DCO is off by more than 10% or the delayMicroseconds function isn't accurate enough.
  10. BINGO, I reduced the delays by 10% and now I can control my tv. It means that the timings are off by 10%. Why? Bad calibration data in my msp? The commented out values are the correct ones (according to the NEC specifications). Note that 10% was just a guess, since I don't have a scope to check the real timing. Edit: in case it's relevant, I'm still using energia 0101E0011, I'll try later with the latest version. Edit2: tried with 0101E0012, it's the same. #define NEC_HDR_MARK 8100 //9000 #define NEC_HDR_SPACE 4050 //4500 #define NEC_BIT_MARK 504 //560 #define NEC_ONE_SPACE
  11. I modified the library with the attached patch, now the led doesn't stay on anymore but I cannot control my TV set (lirc, which probably is more tolerant with the timing, recognizes the codes). Edit: I'm not permitted to attach this kind of file, inlined here --- IRremoteInt.h.orig 2014-04-21 10:29:43.489878975 +0200 +++ IRremoteInt.h 2014-04-21 11:33:19.417113888 +0200 @@ -142,15 +142,16 @@ // P2SEL |= BIT3; // P2.3 option select #define TIMER_PIN_SELECT() ({ \ P2DIR |= BIT3; \ - P2SEL |= BIT3; \ + P2SEL &= ~BIT3; \ + P2OUT &
  12. As reported in this topic (sending samsung tv raw ir codes) sometimes the led stays on after transmitting. I see that the library defines these macros: #define TIMER_ENABLE_PWM (TA1CTL = TASSEL_2 + MC_1) // SMCLK, Up mode #define TIMER_DISABLE_PWM (TA1CTL = TASSEL_2 + MC_0) // SMCLK, Stop mode #define TIMER_ENABLE_INTR ({ /*TA1CTL |= TAIE;*/ TA1CCTL0 |= CCIE;}) // SH 071112 #define TIMER_DISABLE_INTR ({TA1CTL &= ~TAIE; TA1CCTL0 &= ~CCIE;}) #define TIMER_INTR_NAME TIMER1_A0_VECTOR #define TIMER_CONFIG_KHZ(val) ({ \ TA1CCTL0 |= OUTMOD_4; \ TA1CCR0
  13. Did you solder the crystal to the launchpad? I wonder if my problem is the clock (since I'm still not succeeding in controlling my TV, and now I'm pretty sure the codes I'm using are right). Edit: my tv is an LG, it uses NEC codes (so I'm using sendNEC) and I think the timing is slightly off: while the tv doesn't react, a lirc receiver recognizes the codes (though with some difficulty). I don't know if what's off is the mark/space timing or the 38KHz carrier.
  14. I cannot help with your problem (I never managed to get the IRremote library working for sending, probably I just used the wrong codes), but I too see what you mention in the comments ("sometimes IR LED stays on??").
×
×
  • Create New...