Marcel:
The subject line is messed up by my server - if a sender is not recognized, it does this. I should clean it up whenever I reply, but I forget at times. I think I'll modify my email client to do this.
The way that multipart messages are supposed to work, is that a client that does not know about mutipart will get the plain text version. I don't have a mail client that doesn't handle multipart, so it's hard to check this out.
My mail program always sends multi-part, even if there is no HTML in the body of the message - it's a lot easier that way. But I do put a plain-text version in as well.
I'll have to check it out a bit more.
As to the pulse width, I've tried that, and also using the CCP module in capture mode. The "test the bit in a loop" gives the best results.
Larry
Original Message:
>
Larry,
1) most people on this list will prefer plain-text only, and indeed some
mail clients to not handle the multi-part messages very gracefully.
2) your client (or maybe server) keeps garbling the subject line with some
business about spam filtering. That's really obnoxious.
About your problem, how about just using a hardware timer to measure the
pulse width? In your main loop, just do your menu management stuff, if you
detect an interrupt on the line that you're measuring the pulse on, just
start a counter, then wait for another interrupt to stop it. Of course
that's subject to some limitations in terms of measurement length, but you
can work around those fairly easily I'd say.
- Marcel
On Fri, Dec 19, 2008 at 10:01 AM, Larry Bradley <.....larry.bradleyKILLspam
.....ncf.ca>wrote:
{Quote hidden}> Olin:
>
> Interesting. I didn't think I was. My email client sends out both HTML and
> plain text. The HTML has the proper format, - perhaps the plain text does
> not. Since I wrote the client, I can check it out and fix it if necessary.
>
> Thanks .
>
>
> Larry
>
>
>
> Original Message:
> >
> Larry Bradley wrote:
> > I didn't explain the actual problem very well. The "sampling in a
> > tight loop" is trying to measure the width of a pulse on an input
> > pin. The button press isn't what is being sampled. The button press
> > invokes a menu system that controls the action of the pr
>