You can use a timer interrupt to poll USB. Then you can use delay's in your main program.
Matt. On Dec 31, 12:45 pm, Burt Ratliff <[email protected]> wrote: > You have to keep the USB live it will shut off or time out. > > On Fri, Dec 31, 2010 at 9:14 AM, William <[email protected]> wrote: > > Greetings Vasi, > > > On Dec 28, 6:32 pm, "funlw65(Vasi)" <[email protected]> wrote: > > > Well, for me this project had to be done. So, just for the record: > >https://sites.google.com/site/funlw65/electronics/jaluino-pinguino-28... > > > >http://lh5.ggpht.com/_Z3E9awpWQh4/TRlTN7Dg5mI/AAAAAAAAJTQ/r75cZixji1Q... > > > Neat project! > > > Just curious, is it really true that for any of these 'usb' picmicros, > > we must make sure that we call back to the USB library every 10mS? > > That seems rather inconvenient. Just a simple call to delay_100ms() > > would break the program? > > > Thank you, > > > William > > > -- > > 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 at http://groups.google.com/group/jallib?hl=en.
