Hi all,
I am a complete WiFi noob. I have an Arduino Nano IoT with an example sketch. Using a browser, when I access to https://myIPaddress/H the LED turns on and https://myIPaddress/L turns it off. I was wondering if this command can be sent through MATLAB? Thank you!

 채택된 답변

Kojiro Saito
Kojiro Saito 2022년 1월 25일

0 개 추천

webread would be the solution.
%% For turning on
onUrl = 'https://myIPaddress/H';
data = webread(onUrl);
%% For turning off
offUrl = 'https://myIPaddress/L';
data = webread(offUrl);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 MATLAB Support Package for Arduino Hardware에 대해 자세히 알아보기

태그

질문:

2022년 1월 25일

답변:

2022년 1월 25일

Community Treasure Hunt

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

Start Hunting!

Translated by