Code for tilt sensor

7 ビュー (過去 30 日間)
Alejandro Alarcon
Alejandro Alarcon 2018 年 9 月 19 日
コメント済み: Walter Roberson 2019 年 1 月 25 日
Can someone help me figure out a code to light a bulb with a tilt sensor please.
  3 件のコメント
Walter Roberson
Walter Roberson 2019 年 1 月 25 日
Ernest Mares comments to me:
100%useless
Walter Roberson
Walter Roberson 2019 年 1 月 25 日
Is it really 100% useless, Ernest Mares? It shows how it can be done with no lines of code at all. But mostly it invites clarification as to what the physical setup is that is to be programmed. What kind of tilt sensor is being used? How is it being read? What communication is there with the device reading the tilt sensor? What controls are there for the lightbulb ? Is it an on/off situation, or is the lightbulb brightness to vary according to the tilt angle?

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

回答 (0 件)

カテゴリ

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

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by