Hi Friends, I=B4m a beginner on PicBasic development, and I want to build a speedometer / hodometer for my Opel Astra. I=B4m using a 16F628 and a LCD (2x16) and a 4Mhz crystal I Want to keep a cronograph on the LCD=B4s first line and show the speed / distance on the second line. My doubt is : how can I keep counting the time for the cronograph and keep counting the pulses to calculate the speed and the distance ? Are Interrupts the solution ? If yes, how can I calculate the timming ? does anybody know if there=B4s some sample similar ? ps. Exscuse-me for my bad english... thanks in advance. MDAWEB ____________________________________________________________ Real Grandeza Funda=E7=E3o de Previd=EAncia e Assist=EAncia Social O emitente desta mensagem eletr=F4nica e respons=E1vel por seu conte=FAdo e enderecamento. A mensagem, incluindo seus anexos, pode conter informa=E7=E3o confidencial e/ou de propriedade da Empresa. Caso voc=EA n=E3o seja o destinat=E1rio indicado, n=E3o a utilize, copie ou divulgue, avisando imediatamente o remetente, apagando em seguida a mensagem recebida indevidamente. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist