Steen S. Jensen wrote: > Hello PicList > I am right now working on a serial RS-232 line with my PIC. I think my code > works fine, I just need a tool for testing it. Therefore: Do any of you > have a small program for the PC (basic or something else) which will make > me able to send single ASCII-codes via the COM-port to the PIC. I have > tried to fix a basic program myself, but I am not very good a basic, so it > will not work out the way I want it. Regards Steen Jensen Denmark Hi Steen, I believe there is only one approach to this. Use any terminal program. If you are using DOS then any old kermit, telix, etc. will do. You can use hyper terminal if using windows. All your commands should be keyboard driven, so that a demo is as simple as running any terminal program, so you can test and demonstrate your hardware with simple keyboard commands. Here are two PIC examples: I did a thing a few years back when I first got started on PICs. Have a look at: http://www.dontronics.com/picex.html An 18 bit input/output device driven from RS-232 using a 57, and all done from the keyboard. This one is a little dated. I have also produced some code for the 84 and may end up throwing the source and hex files into my download dungeon, so others may get some use out of it. There is basic programming examples on line which should help you with your current problem. Myke Predko has recently done an auto-baud RS-232 to LCD using a 61. This is distributed by Wirz Electronics, and all the files, including the commands can be found at: http://wirz.com/sli/bench.html You will find most of it in the pdf file. This again uses only characters that can be generated from the keyboard for control. It really makes it simple for design, testing, demonstration, training, and sales if you can run it all from a keyboard command set. OK, you wouldn't load a full graphics character set into an LCD with the keyboard, but it should be able to be done. Use of special characters and escape sequences will allow additional control. Don McKenzie mailto:don@dontronics.com http://www.dontronics.com Don's Download Dungeon http://www.dontronics.com/download.html DonTronics Logo Design Contest http://www.dontronics.com/logo.html For more details, send a blank message to mailto:info@dontronics.com or mailto:simstick@dontronics.com or mailto:basics@dontronics.com