Matt, the SIRC protocol defines a "1" as 1.2 milliseonds of carrier followed by 600 microseconds of no carrier and a "0" as 600 microseconds of no carrier followed by 1.2 milliseconds of carrier. The code you reference is for transmission and really should not be interrupted by anything else. As far as blocking delays the entire library is full of blocking delays but if you can figure out a way of doing it without them then by all means go ahead. I would welcome the education this would give me.
As far as having the library for jallib, the link I posted has the library formatted to jallib standards at the time it was written. I actually thought I had submitted it back then to someone for approval and inclusion but must not have ever sent it. Anyone that would like to run a check on it for jallib standards and style can do so and adapt it as needed for inclusion so long as my original header with copyright notice is included. Mike. On Dec 3, 11:03 am, mattschinkel <[email protected]> wrote: > I see some blocking delays, is this an issue? > > _usec_delay(600) -- delay 600 microseconds > > Matt. > > On Dec 3, 11:34 am, Sunish Issac <[email protected]> wrote: > > > Hello Vasi, > > It would be great to have RC5 in jallib, but I was talking about > > including the sirc lib of Mike in jallib with permission. > > > Sunish > > > On Fri, Dec 3, 2010 at 3:38 PM, funlw65(Vasi) <[email protected]> wrote: > > > Hi Sunish, > > > > In Jallist are a couple of files/libs regarding to RC5 protocol (I > > > also found on a Romanian forum a lib posted by Vasile Surducan - the > > > lib is from 2003 year) - are for the old JAL. Just waiting to be > > > picked up. I did, and installed also an old version of JAL, with > > > VirtuaLab IDE. Just need time to test them on my hardware then to see > > > how to adapt them... > > > > Vasi > > > > On Dec 3, 7:47 am, Sunish Issac <[email protected]> wrote: > > >> can't we have it in jallib ? > > > >> Sunish > > > >> On Thu, Dec 2, 2010 at 6:14 PM, Burt Ratliff <[email protected]> wrote: > > >> > Mike that was real nice code I learned a lot from it. Your site is > > >> > what got > > >> > me started with jal Thanks > > > >> > On Thu, Dec 2, 2010 at 3:13 AM, MikeReynolds <[email protected]> wrote: > > > >> >> The best library for this is now in my files on the jallist of Yahoo > > >> >> groups. > > >> >>http://tech.groups.yahoo.com/group/jallist/files/mikerey35475/SIRC/ > > >> >> I have been busy with other aspects of my life and never got around to > > >> >> updating the website. > > > >> >> On Nov 30, 1:55 pm, John in WI <[email protected]> wrote: > > >> >> > That's exactly what I was looking for. Thanks! > > > >> >> > On Nov 30, 11:51 am, Burt Ratliff <[email protected]> wrote: > > > >> >> > > Take a look at this site it's in jalv2 > > >> >>http://mikerey35475.tripod.com/sirc.html > > >> >> > > By Mike Reynolds. > > > >> >> > > On Tue, Nov 30, 2010 at 9:22 AM, John in WI <[email protected]> > > >> >> wrote: > > > >> >> > > > Hi, > > >> >> > > > Looking for some code to get me started on using a TSOP type IR > > >> >> > > > receiver with a sony TV remote control. I've done this in the > > >> >> > > > past > > >> >> > > > on a PICAXE with a 38kHz IR receiver. They have a function in > > >> >> > > > their > > >> >> > > > basic language that does the work for me, so I never really had > > >> >> > > > to > > >> >> > > > figure out how it is done. The goal is to push a button on the > > >> >> > > > TV > > >> >> > > > remote, have the IR reciever detect it, decode it (?) with my > > >> >> > > > microcontroller and have it return a value I can use elsewhere > > >> >> > > > in my > > >> >> > > > program. > > > >> >> > > > I'm using PIC18f14k50 usb microcontrollers-- they've been > > >> >> > > > working > > >> >> > > > great w/ JAL. > > > >> >> > > > Thanks! > > > >> >> > > > -- > > >> >> > > > You received this message because you are subscribed to the > > >> >> > > > Google > > >> >> Groups > > >> >> > > > "jallib" group. > > >> >> > > > To post to this group, send email to [email protected]. > > >> >> > > > To unsubscribe from this group, send email to > > >> >> > > > [email protected]<jallib%[email protected]> > > >> >> <jallib%[email protected]<jallib%[email protected]> > > > >> >> > > > . > > >> >> > > > For more options, visit this group at > > >> >> > > >http://groups.google.com/group/jallib?hl=en. > > > >> >> -- > > >> >> You received this message because you are subscribed to the Google > > >> >> Groups > > >> >> "jallib" group. > > >> >> To post to this group, send email to [email protected]. > > >> >> To unsubscribe from this group, send email to > > >> >> [email protected]<jallib%[email protected]> > > >> >> . > > >> >> For more options, visit this group at > > >> >>http://groups.google.com/group/jallib?hl=en. > > > >> > -- > > >> > You received this message because you are subscribed to the Google > > >> > Groups > > >> > "jallib" group. > > >> > To post to this group, send email to [email protected]. > > >> > To unsubscribe from this group, send email to > > >> > [email protected]<jallib%[email protected]> > > >> > . > > >> > For more options, visit this group at > > >> >http://groups.google.com/group/jallib?hl=en. > > > > -- > > > You received this message because you are subscribed to the Google Groups > > > "jallib" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group > > > athttp://groups.google.com/group/jallib?hl=en. -- You received this message because you are subscribed to the Google Groups "jallib" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jallib?hl=en.
