Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
I2C を使用してセンサーから圧力を取得しようとしていますが、C コードがわかりません。これまでのところ、私はこれを持っています:
I2C1_MasterRead(&PressureData, 2, I2C_ADDR_DS, &status);
圧力データが 8 ビットの符号なし整数である場合、データの長さは 2 バイトで、センサーのアドレスにストップ ビットと思われるものが続きます。
誰でも経験があり、私を助けることができますか?