Photo-Sensor Usage on the MC9s12C128 MCU, 80, LQFP

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

Photo-Sensor Usage on the MC9s12C128 MCU, 80, LQFP

1,359件の閲覧回数
B_Dub
Contributor I
This is an application using the application dev board for a course project.


GOAL:  Trying to read the Potentiometer (@RV1) & Light Sensor (@RZ1) both connected to the ATD at Pin 5 and Pin 4 respectively.  When i set the ATDCTL5 to use MULTI devs and sample the Pin 4 (Light-sensor) first, the values read from ATDDR5H and ATDDR4H kind of agree (that's unexpected).

IF you have any information on the Photo-Sensor and how to use it--That'd be great.
IF you know that i'm using the ATD incorrectly, let me know---please.



Thanks,

B-Dub.
ラベル(1)
0 件の賞賛
返信
1 返信

737件の閲覧回数
B_Dub
Contributor I
Nevermind, I figured out a way to use them mutually exclusive and still attain my goal.
0 件の賞賛
返信