Craig Lee wrote: > > Does someone maintain a supository (funny), of some common drivers, > functions, etc. in ANSI or any C? > > I am trying to collect as much as I can so I can create a solid software > library. Like I2C for devices that have the control modules, and I2C for > devices that don't. Like ADC for devices that have ADC, and then for > devices that are external. > > I am using Hi-Tech PICC and although there is some code for these > common things, there isn't really enough. > > Has anyone been sick enough to read through the scads of Microchip > Application notes, and convert the ASM code into C. I tried doing this > with some of it, but I'm afraid most of it is so painfully coded that if > you > don't really understand the concept of what it's trying to do, you have to > use a bunch of gotos, and thus the C code looks no better than the ASM! > > Help?! > > Craig Craig, CCS have all and very good! I have implemented with I2C and SPI with success! Miguel.