How to access ardunio serial port using mathlab
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to develop this code to access arduino serial poart and how to read 1, 0 valuea from transmitter. and also how to reading values for receiver code for arduino ?
filename = 'image.jpg';
img = imread(filename);
bitstream = reshape((dec2bin(img(:), 8) - '0').', 1, []);
reconstructed = uint8( reshape(bin2dec(reshape(char(bitstream + '0'), 8, []).'), size(img)) );
imshow(img);
title('original');
imshow(reconstructed);
title('reconstructed');
0 commentaires
Réponses (0)
Voir également
Catégories
En savoir plus sur Arduino Hardware dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!