i want to send 8 bits binary number array from matlab to arduino and different led blink using these bits

1 回表示 (過去 30 日間)
i want to send 8 bit binary number serially from matlab . if i send the number [0 0 0 0 0 0 0 1] its turn on the first LED connected to pin13 of arduino .and if i send [0 0 0 0 0 0 1 0 ] it turns on the second led connected to pin 12 of arduino.
i required the code of both matlab and arduino IDE.

回答 (0 件)

カテゴリ

Help Center および File ExchangeMATLAB Support Package for Arduino Hardware についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by