ADOff

This command is obsolete. There should be no need to call it in a modern GCBASIC program.

GCBASIC automatically disables the A/D converter and returns every analog-capable pin to digital mode:

  • when the program starts, and
  • immediately after every call to ReadAD, ReadAD10, or ReadAD12.

Because of this automatic behaviour, calling ADOff yourself has no effect on current versions of the compiler. It is kept only so that older programs that still call it continue to compile.

It is recommended that this command be removed from all new and existing programs.

See Also: