Hi All, I intend to start a project that uses a LCD display (2x16, parallel data input), three switches for input, three digital outputs, that each generates a pulse with a specific width. Pulse2 and pulse3 come after delay2 and delay3. I want to modify the delays from 1us to 200us, with a resolution of 1us, as well as the widths of pulse1, pulse2, pulse3. For this operation, I think using three switches, as: "Select Next Parameter/Set Value", "Up", "Down". Now, I can use assembler or C (limited size code). I have limited experience with both in the microcontrollers world and if possible, I prefer C. I don't mind combining them two, if necessary. I would like somebody with more experience than me to advise about the structure of the program. Should I use interrupts, timers, etc? How should I deal with the LCD? I only need the LCD to view and set the parameters, so the LCD could come to life only when I press on the "Select Next Parameter" Key. The values set for pulse widths and delays should be stored into the EEprom. In the past I tried using some libraries of "precise delays" in C, but the delays I obtained were nowhere what I expected. I will give it another try anyway. Any advice appreciated. Regards, Nick -- View this message in context: http://www.nabble.com/Project-with-LCD%2C-keys-and-delays-on-PIC16F628A-tp23309866p23309866.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