Jinx-4 wrote: > >> By using a more modern PIC (maybe an low-end PIC18) you get more >> "things" (like better timers, table-lookup and so on) to play with. > > An 18F would also at least double the maximum clock speed. Delays > and pulses with 1us resolution is going to be a lot easier with a 40MHz > clock than a 20MHz. I used 50Mhz Scenix's (equivalent to a 200MHz > PIC, almost 50MIPS) for a stepper motor controller project as no PIC > was fast enough for the data-fed loops needed > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > > Thanks Jinx, I will keep that in mind. I don't totally agree with this advice, using a more powerful microcontroller. As far as I know, a 20MHz PIC16F628A can have a resolution of 200nS, which is 5 times better than my desired 1us. At the moment I think a faster PIC would be required mostly to supplement poor programming skills. At the moment I know very little, so it would be even worse to learn something more complex. I've never used a timer, PWM, interrupts, I have plenty to learn. Maybe the future will prove me wrong, but I have to find the maximum capability of this PIC before looking to a more powerful one. From what I noticed, this advice to use a better microcontroller is given too often and many users are able to use maybe just 10% of the capability of a microcontroller, then go up and learn another bit, and so on. Regards, Nick -- View this message in context: http://www.nabble.com/Project-with-LCD%2C-keys-and-delays-on-PIC16F628A-tp23309866p23313965.html Sent from the PIC - [PIC] mailing list archive at Nabble.com. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist