Why go through the wheel invention all over, if you can buy a bar code scanner that plugs inline between your keyboard and PC. This scanner pumps out ASCII on the PC side. If you want to use a PIC to read it, what can be easier than ASCII? You can set it up for all the popular bar codes. -- Friendly Regards Tjaart van der Walt mailto:tjaart@wasp.co.za ________________________________________________________ | WASP International http://wasp.co.za | | R&D Engineer : GSM peripheral services development | |Vehicle tracking | Telemetry systems | GSM data transfer| |Voice : +27-(0)11-622-8686 | Fax : +27-(0)11-622-8973 | | WGS-84 : 26010.52'S 28006.19'E | |________________________________________________________|