Thread Subject: How to send a byte of data through RS232?

Subject: How to send a byte of data through RS232?

From: Mehdi Massoudi Rad

Date: 25 Nov, 2007 07:12:34

Message: 1 of 2

I want to sent a byte for example [00110101] through RS232
port to eight switches or 8 LED's. What is the easiest way?

Subject: How to send a byte of data through RS232?

From: Cassandra J. Nichols

Date: 26 Nov, 2007 00:04:23

Message: 2 of 2

Mehdi Massoudi Rad wrote:

> I want to sent a byte for example [00110101] through RS232
> port to eight switches or 8 LED's. What is the easiest way?

Look up serial, fopen, and fwrite.

--
  - Cassandra J. Nichols

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com