From: aung lin on
Hi!!
All of my friends
I have a problem
I have 16-LED(light emitting diodes). It connect with controller.The controller and PC i usually connect with cabel. I want to control this LED via matlab program.I used following comments
obj=serial('COM1');
set(obj,'baudrate',115200);
set(obj,'databits',8);
set(obj,'Timeout',10);
set(obj,'Parity','none');
fopen(obj);
fwrite(obj,512)

i can send data to controller but how can i light on this LED
Advise me please
Thanks a lot