Re: analog function


[ Follow Ups ] [ Post Followup ] [ Internet PLC Forum ] [ FAQ ]

Posted ByCK on December 06, 2001 at 02:36:37:

In Reply to: analog function posted bymatthew on December 05, 2001 at 17:13:19:

When you execute the TBASIC command ADC(n) where n is 1 to 8 you are reading the value of the analog to digital converter. The range of value returned by this function is between 0 and 4096.

E.g.
X = ADC(1) ' read ADC #1
IF X > 1000 THEN
....
ELSE
.....
ENDIF


: If you could, please answer a few questions that are listed below, thanx.
: Where do you find the analog function in tri-logic program?
: How do you use the analog function in tri-logic program?

: Could you send a example, describing the analog function.




Follow Ups



Post Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ Internet PLC Forum ] [ FAQ ]