Herunterladen Diese Seite drucken

Communicating With Your Arduino Shield; High Level Overview; I 2 C Interface - Blackmagic Design Design 3G-Sdi Arduino Shield Installations- Und Betriebs-Anleitung

シールドコンポーネントの取り付け
独自のハードウェアコントローラーを構築したい場合、 ボタン、 ノブ、 ジョイスティックなどを使い、 より
触覚的かつ実践的な新しいシールドを作成できます。 カスタムシールドをヘッダースロットに接続して
Blackmagic 3G-SDI Arduino Shield にマウントします。 作成するコントローラーのタイプに制限はありま
せん。 古い CCU の回路を独自のカスタム Arduino ソリューションと交換して、 業界標準のカメラコントロー
ルユニットを作成することもできます。
独自のハードウェアコントローラーを作成し、
Blackmagic 3G-SDI Arduino Shield に接続して、
よりインタラクティブかつ精密なコントロールを実現。
Communicating with
your Arduino Shield
You can communicate with your Arduino Shield via I
the low pin count and it frees up the serial monitor. This also allows you to use more I
with the shield.

High Level Overview

The library provides two core objects, BMD_SDITallyControl and BMD_SDICameraControl,
which can be used to interface with the shield's tally and camera control functionalities. Either
or both of these objects can be created in your sketch to issue camera control commands, or
read and write tally data respectively. These objects exist in several variants, one for each of
the physical I
C or Serial communication busses the shield supports.
2
I
C Interface
2
To use the I
C interface to the shield:
2
/ / NOTE: Must match address set in the setup utility software
const int
shieldAddress = 0x6E;
BMD _ SDICameraControl _ I2C
BMD _ SDITallyControl _ I2C
C or Serial. We recommend I
2
sdiCameraControl(shieldAddress) ;
sdiTallyControl(shieldAddress) ;
C because of
2
C devices
2

Communicating with your Arduino Shield

42
loading