> > I don't see how your code handles an as-yet-undefined chip, > it does only > > PIC and 8051. It can of course be extended for another > specific chip, > > but it can't handle a new chip without additions/changes. > > Byte Craft implemented a embedded library that has delay > routines in it (arguments in us ms ) This library has > identical calling sequences for > several compilers. That's nice when the delay is large wrt. the time taken by 'inbetween' operations and/or by the I/O operations itself. Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist