GetADC() hangs on ZX-24x
Posted: 18 May 2011, 13:55 PM
Calling GetADC stops everything:
It never gets to "Did not get here: ". Is there something special about the 24x?
Code: Select all
Option TargetDevice ZX24x
Option Pin15 "T"
Sub Main()
dim hangz As Single
const mypin as Byte = 15
hangz = 0.0
Debug.Print "Got to here: ";hangz
Call GetADC(15, hangz)
Debug.Print "Did not get here: ";hangz
End Sub