--_003_2011101111474406a56fd6300ec2bfca6379d4e10ab8d22ac7ecfbf_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 CiBBbGwsCgogSGVyZSBpcyB0aGUgY29kZSBJIG1lbnRpb25lZCBlYXJsaWVyIHJlZ2FyZGluZyB0 aGUgcm90YXJ5IGVuY29kZXIuIApSaWdodCBub3cgaXQgaXMgdGhlIG9ubHkgdGhpbmcgaW4gdGhl CiBmaWxlLiAgSSB3cm90ZSB0aGUgcm91dGluZSB0byBtYWtlIHRoZSBlbmNvZGVyIHdvcmsgYW5k IHRvIGdldCBmYW1pbGlhcgp3aXRoIGl0IGFuZCBpdCdzIG9wZXJhdGlvbi4gIEkgaGF2ZQogYWNj b21wbGlzaGVkIHRoYXQgZ29hbC4gIEkgaGF2ZSB3cml0dGVuIGVub3VnaCBjb21tZW50cyAoSSBi ZWxpZXZlKQp0aGF0IGFueW9uZSBzaG91bGQgYmUgYWJsZSB0byBnYXQgYSAKIGhhbmRsZSBvbiBo b3cgaXQgd29ya3MuCgogSSBob3BlIGl0IGlzIHVzZWZ1bCBmb3IgeW91LgoKIFJlZ2FyZHMsCgog SmltCgo= --_003_2011101111474406a56fd6300ec2bfca6379d4e10ab8d22ac7ecfbf_ Content-Type: text/x-c++; name="16F887_Rotary_Encoder_Routine.ASM" Content-Description: 16F887_Rotary_Encoder_Routine.ASM Content-Disposition: attachment; filename="16F887_Rotary_Encoder_Routine.ASM"; size=7222; creation-date="Tue, 11 Oct 2011 11:55:14 GMT"; modification-date="Tue, 11 Oct 2011 11:55:14 GMT" Content-Transfer-Encoding: base64 OyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioNCjsgICBUaGlzIGZpbGUgaXMgYSBiYXNpYyBjb2RlIHRlbXBsYXRlIGZv ciBhc3NlbWJseSBjb2RlIGdlbmVyYXRpb24gICAqDQo7ICAgb24gdGhlIFBJQzE2Rjg4Ny4gVGhp cyBmaWxlIGNvbnRhaW5zIHRoZSBiYXNpYyBjb2RlICAgICAgICAgICAgICAgKg0KOyAgIGJ1aWxk aW5nIGJsb2NrcyB0byBidWlsZCB1cG9uLiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICoNCjsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAqDQo7ICAgUmVmZXIgdG8gdGhlIE1QQVNNIFVzZXIncyBHdWlk ZSBmb3IgYWRkaXRpb25hbCBpbmZvcm1hdGlvbiBvbiAgICAgKg0KOyAgIGZlYXR1cmVzIG9mIHRo ZSBhc3NlbWJsZXIgKERvY3VtZW50IERTMzMwMTQpLiAgICAgICAgICAgICAgICAgICAgICoNCjsg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAqDQo7ICAgUmVmZXIgdG8gdGhlIHJlc3BlY3RpdmUgUElDIGRhdGEgc2hlZXQg Zm9yIGFkZGl0aW9uYWwgICAgICAgICAgICAgKg0KOyAgIGluZm9ybWF0aW9uIG9uIHRoZSBpbnN0 cnVjdGlvbiBzZXQuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICoNCjsgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAqDQo7KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioqKioqKg0KOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICoNCjsgICAgRmlsZW5hbWU6CSAgICB4 eHguYXNtICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICoNCjsgICAg RGF0ZTogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAqDQo7ICAgIEZpbGUgVmVyc2lvbjogICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgKg0KOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICoNCjsgICAgQXV0aG9yOiAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAq DQo7ICAgIENvbXBhbnk6ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgKg0KOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICoNCjsgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqDQo7KioqKioq KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKg0KOyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICoNCjsgICAgRmlsZXMgUmVxdWlyZWQ6IFAxNkY4ODcuSU5D ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqDQo7ICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKg0K OyoqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq KioqKioqKioqKioqKioNCjsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAqDQo7ICAgIE5vdGVzOiAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKg0K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udGludWUNCgkNCgkNCg0KDQo7Mi41bXMgZGVsYXkgdG8g dGFrZSBjYXJlIG9mIGNvbnRhY3QgYm91bmNlCQ0Kd2FpdA0KCW1vdmx3CTB4NjUNCgltb3Z3Zglk MQ0KCW1vdmx3CTB4MDYNCgltb3Z3ZglkMg0KRGVsYXlfMA0KCWRlY2ZzeglkMSwgZg0KCWdvdG8J JCsyDQoJZGVjZnN6CWQyLCBmDQoJZ290bwlEZWxheV8wDQoJZ290bwkkKzENCglnb3RvCSQrMQ0K CXJldHVybg0KDQoNCg0KCUVORCAgICAgICAgICAgICAgICAgICAgICAgOyBkaXJlY3RpdmUgJ2Vu ZCBvZiBwcm9ncmFtJw0KCQ0KCQ0KCQ0KCQ0KIA0KCQ0K --_003_2011101111474406a56fd6300ec2bfca6379d4e10ab8d22ac7ecfbf_ Content-Type: text/plain; name="ATT00001.txt" Content-Description: ATT00001.txt Content-Disposition: attachment; filename="ATT00001.txt"; size=208; creation-date="Tue, 11 Oct 2011 11:55:14 GMT"; modification-date="Tue, 11 Oct 2011 11:55:14 GMT" Content-Transfer-Encoding: base64 LS0gDQpodHRwOi8vd3d3LnBpY2xpc3QuY29tIFBJQy9TWCBGQVEgJiBsaXN0IGFyY2hpdmUNClZp ZXcvY2hhbmdlIHlvdXIgbWVtYmVyc2hpcCBvcHRpb25zIGF0DQpodHRwOi8vbWFpbG1hbi5taXQu ZWR1L21haWxtYW4vbGlzdGluZm8vcGljbGlzdA0K --_003_2011101111474406a56fd6300ec2bfca6379d4e10ab8d22ac7ecfbf_-- .