11 years, 10 months ago.

Communication with mbed without using terminal emulator

Can we communicate with mbed without using a terminal emulator like minicom or teraterm?

If yes, can we do it using C program?

1 Answer

11 years, 10 months ago.

Yes you can. For starters you can use the regular virtual serial port which also teraterm uses to send messages. How to do that in your C program? That depends on where you develop it in. But generally it will be possible to send messages to a COM port with the correct library.

Can you please post a sample program for it?

posted by Astha Jada 19 Mar 2014

As I said, it depends on which environment you are programming it for. I don't know which one you use, and if I knew I probably haven't used it myself. I have for example once long time ago done it with .net (okay C++), which simply has a COM-port class that can be used. You'll probably have to google for an example for your specific situation.

posted by Erik - 19 Mar 2014

I have a GUI that is developed in C. Now if I click on a button say 1 then LED 1 should be turned on. How to do this?

posted by Astha Jada 19 Mar 2014