bits patterns between matlab and other device

Sir,mr walter ,im very grateful for you for your explain to my questions specially for my question " effect of using usb to rs232 on transfer data". I use laptop and I use its usb to out data transferred from computer and I use usb to rs232 adapter to connect with my 8051 kit .when I send data from matlab using below instruction Fwrite(s,dec2bin(1),'uint8') I receive in my 8051 11111000 this displayed on led. I want ask you is this occur because I use usb to rs232 adapter in other word if I use rs232 directly from desktop computer (pc) may I receive 00000001 as I send from matlab? Thanks in advance for your help,suggestions,idea

2 commentaires

If this is a followup comment to some other discussion you are having with Walter, you should continue it there, unless this is a completely new and different question.

Réponses (0)

Cette question est clôturée.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by