Internet PLC Forum
General => Technical support => Topic started by: karen on June 18, 2002, 08:58:13 AM
-
i wonder if you can help me
using the setdac command how can i solve this problem
setdac from 0-3800
show on the lcd a scale of 0-250 where
3800 represents 0
0 equals 250
thanks
karen
-
Try the following statements:
X = ..... ' assume X contains the desired value 0-3800.
SETDAC 1, X
N = 250 - X*250/3800
SETLCD 1,1, STR$(N)