Discussion about the ZBasic language including the System Library. If you're not sure where to post your message, do it here. However, do not make test posts here; that's the purpose of the Sandbox.
option com1speed 115200
Sub Main()
dim byLDRPin as byte=28
dim inADC as integer
Call Putpin(byLDRPin,zxinputtristate)
'do
inADC=Getadc(byLDRPin)
debug.print inAdc
'loop
End Sub