--0-518477363-1028453971=:56911 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Attached is a C file which may help you. I use CCS, but don't trust their libraries and thus, the code is pretty close to assembly or to other C compilers. Peter H Anderson, http://www.phanderson.com, pha(at)phanderson.com --- James Williams wrote: > Hello, > > > Has anyone experienced problems setting up the __________________________________________________ Do You Yahoo!? Yahoo! Health - Feel better, live better http://health.yahoo.com --0-518477363-1028453971=:56911 Content-Type: application/octet-stream; name="Timer0_1.c" Content-Transfer-Encoding: base64 Content-Description: Timer0_1.c Content-Disposition: attachment; filename="Timer0_1.c" Ly8gUHJvZ3JhbSBUSU1FUjBfMS5DDQovLw0KLy8gSWxsdXN0cmF0ZXMgdGhl IHVzZSBvZiBUaW1lciAwIGluIHRoZSAxNi1iaXQgbW9kZSB0byB0aW1lIGZv ciB2ZXJ5IGNsb3NlIHRvIG9uZSBzZWNvbmQuDQovLw0KLy8gRWFjaCBzZWNv bmQsIHRvZ2dsZXMgTEVEIG9uIFBPUlREMC4NCi8vDQovLyBjb3B5cmlnaHQs IFBldGVyIEguIEFuZGVyc29uLCBCYWx0aW1vcmUsIE1ELCBKYW4sICcwMg0K DQojY2FzZQ0KI2RldmljZSBQSUMxOEM0NTINCg0KI2luY2x1ZGUgPGRlZnNf MThjLmg+DQojaW5jbHVkZSA8ZGVsYXkuaD4NCiNpbmNsdWRlIDxzZXJfMThj Lmg+DQoNCiNkZWZpbmUgRkFMU0UgMA0KI2RlZmluZSBUUlVFICEwDQoNCiNk ZWZpbmUgTUFLRV9MT05HKGgsIGwpICAoKChsb25nKSBoKSA8PCA4KSB8IChs KQ0KDQptYWluKCkNCnsNCiAgIHNlcl9pbml0KCk7CS8vIGZvciBwb3NzaWJs ZSBkZWJ1dWdpbmcNCg0KICAgcHNwbW9kZSA9IDA7DQogICBsYXRkMCA9IDA7 ICAgIC8vIG1ha2UgTEVEIGFuIG91dHB1dCBsb2dpYyB6ZXJvDQogICB0cmlz ZDAgPSAwOw0KDQogICAvLyBTZXQg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ZGVsYXkuYz4NCiNpbmNsdWRlIDxzZXJfMThjLmM+DQo= --0-518477363-1028453971=:56911-- -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu