フィルターのクリア

Arduino Uno connection using the 1 wire library

8 ビュー (過去 30 日間)
Andrew Loots
Andrew Loots 2020 年 7 月 23 日
コメント済み: Rohan Kale 2020 年 10 月 1 日
When initiating the Uno without the library it works. I can also write to uno with IDE.
When I specify the Paulstoffregen/OneWire library I get the following fault message.
"Cannot program board uno ( COm5)"
  1 件のコメント
Rohan Kale
Rohan Kale 2020 年 10 月 1 日
Hi Andrew,
Can you please:
  • specify the MATLAB version you are using for the same
  • share the error logs for the same. The debug messages can be enabled with the TraceOn option as follows:
>> a = arduino('COM5', 'Uno', 'Libraries', 'PaulStoffregen/OneWire', 'TraceOn', true)
  • confirm if you have downloaded the correct library, renamed it to OneWire, and added to the libraries folder. The error can occur if the third party is not found in the libraries. In fact, the error log might actually point out that this lib is missing. Please refer to Steps 1 to 3 on the FEX page
Hope it helps

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeI2C Devices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by