Xiaofan Chen wrote: >> I think you are right - but I am fighting the Microchip C30 library at >> the >> moment, seems even they don't use their library for their own code. >> >> Someone else quoted the mess that they have for setting up a UART in C30, >> and wanting to use some UARTs in a project, I have been attempting to >> figure >> out what is necessary. The C30 library has lots of calls that seem >> unnecessarily complex, they do it a different way in their USB framework >> (not even using the C30 library), and I am wondering if I should 'just' >> write my own, so I know what is going on ... > > As far as I know, those peripheral libraries provide a good way for > customer > to move from one family to another (say PIC18 to PIC24 to PIC32). It also > helps the newbies to get started. But that is pretty much what they are > for. Their only purpose in life, is to serve as a bad example. :) Well, and maybe borrow some code from, since they're open source. > The C30 compiler is excellent, the peripheral libraries are probably not > of the desired quality. I think it may be easier for you to roll your own. Agree. Vitaliy -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist