Hi Bob,
Thanks for that link. It turned out to be just about what I had fumbled to program a few monthes ago trying to get serin to work. The 18f chips automatically saves settings on int and replace registers with FAST RETURN, I think.
I added a "start char" and "end char" to sort of frame the incomming ASCII and know when to tell Basic to deal with received stuff.
I think the interrupt service routine only takes about 10 to20 or 30 micro seconds every time a character comes in.
Do you see improvments to this stuff?
Don
amgen
HOW do you post the code window here. Copy paste deforms the layout to just about unreadable so I just attached file???
thanks
Bookmarks