--0-328643260-987101211=:24518 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Disposition: inline I have some code for 4 bit data transfer from Myke predko - its good code - ive got the delays right ( i think) but every time i turn the circuit on the display shows a different set of characters everry time.... nothing logical either just a set of junk! Any ideas? its menat to say hello world and occassionally shows the right number of characters.... but not always! - no bust jumpers either Does anyone have a truly bullet proff complete 4 bit routine? that doesnt use the busy flag...! THanks for all the help already - im slowly gettiong there - uphil struggle :) Cheers robert ps attached is asm file if anyone wants a look! ____________________________________________________________ Do You Yahoo!? Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk or your free @yahoo.ie address at http://mail.yahoo.ie --0-328643260-987101211=:24518 Content-Type: application/x-unknown-content-type-asm_auto_file; name="lcd3.asm" Content-Transfer-Encoding: base64 Content-Description: lcd3.asm Content-Disposition: attachment; filename="lcd3.asm" CVRpdGxlICJMQ0QgVGVzdGluZyINCglsaXN0IHA9MTZmODQNCg0KI2RlZmlu ZSBfXzE2Zjg0DQojaW5jbHVkZSAiYzpccHJvZ3JhfjFcbXBsYWJccDE2Zjg0 LmluYyINCg0KCW9yZyAwMA0KCWdvdG8JU3RhcnQNCg0KCTtNU0cgdGFibGVz IGdvIGhlcmUNCkhlbGxvV29ybGQ6DQoJYWRkd2YJUENMLGYNCglkdCAiSGVs bG8gV29ybGQhIiwwDQpTdGFydDoNCglic2YJU1RBVFVTLFJQMA0KCWNscmYJ UE9SVEINCgliY2YJU1RBVFVTLFJQMA0KCWNscmYJUE9SVEINCgkNCg0KCXN1 YnRpdGxlICJMQ0QzTElORSAtIENvbnRyb2wgYW4gTENEIHVzaW5nIDMgbGlu ZXMuIg0KOw0KOw0KCWNibG9jayAweDAwQw0KCWQxDQoJZDINCglMQ0RUZW1w DQoJTENETlRlbXANCglMQ0RDb3VudA0KCU1TRw0KCWVuZGMNCg0KDQpMQ0RJ bml0OgkJCTtpbml0aWFsaXNlIHRoZSBMQ0QNCgljYWxsCURsYXk1bXMNCglj YWxs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v dndmCUxDRE5UZW1wDQoNCgliY2YJUE9SVEIsNg0KCWJzZglQT1JUQiw2DQoN Cgltb3Zsdwk0DQoJbW92d2YJTENEQ291bnQNCg0KTE5Mb29wOg0KCWJjZglQ T1JUQiw1DQoJcnJmCUxDRE5UZW1wLGYNCglidGZzYwlTVEFUVVMsQw0KCWJz ZglQT1JUQiw1DQoNCgliY2YJUE9SVEIsNg0KCWJzZglQT1JUQiw2DQoNCglk ZWNmc3oJTENEQ291bnQsZg0KCWdvdG8JTE5Mb29wDQoNCglic2YJUE9SVEIs Nw0KCWJjZglQT1JUQiw3DQoNCglyZXR1cm4NCg0KRGxheTE2MDogIDsxNjB1 c2VjIGRsYXksIGFjdHVhbGx5IHVzZXMgNW1zZWMgZGxheQ0KDQoNCkRsYXk1 bXM6DQoJbW92bHcJMHgyOA0KCW1vdndmCWQxDQpEbGF5XzAwOg0KCW1vdmx3 CTB4MjgNCgltb3Z3ZglkMg0KRGxheV8wMToNCglkZWNmc3oJZDIsZg0KCWdv dG8JRGxheV8wMQ0KCWRlY2ZzeglkMSxmDQoJZ290bwlEbGF5XzAwDQoNCglt b3ZsdwkweDBiDQoJbW92d2YJZDENCkRsYXlfMTA6DQoJZGVjZnN6CWQxLGYN Cglnb3RvCURsYXlfMTANCg0KCW5vcA0KDQoJcmV0dXJuDQoNCgllbmQNCg== --0-328643260-987101211=:24518-- -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads