Example: S12ZVC192-ACMP-POT-CW107

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Example: S12ZVC192-ACMP-POT-CW107

Example: S12ZVC192-ACMP-POT-CW107

Tested on: DEVKIT-S12ZVC

MCU: S12ZVC192
Development tool: CodeWarrior 10.7

This example shows ACMP - analog comparator, 
which compares voltage from potentiometer and voltage from DAC.
DAC is set at 2.5V and uses the positive input of the comparator.
Potentiometer uses the negative input in the range of 0V - 5V.
When the potentiometer is moved, the output from ACMP will be changed. 
If the voltage at the non-inverting (positive) input > the voltage at the inverting (negative) input,
the output result is in the logic level 1 and the red LED is on.

タグ(1)
添付
評価なし
バージョン履歴
最終更新日:
‎11-07-2018 07:42 AM
更新者: