adc0838 programming ?
Archiver
Posts: 46,084
I am trying to use the AD0838.bs2 prgm to understand
how to use the ADC0838 a/d converter.
There is an expression :InitBits = %11000 | ((Channel & %001) << 2) | ((Channel
& %110) >> 1)
that i do not understand .
The initbits is a part of the shiftin command but can someone explain in simple
english what the logical or symbol
means in this context.
The AD0838 prgm was brought to my atention in the HTH files.
ron... the motor man...
Ronald Doctors
http://www.members.home.net/rdoctors
how to use the ADC0838 a/d converter.
There is an expression :InitBits = %11000 | ((Channel & %001) << 2) | ((Channel
& %110) >> 1)
that i do not understand .
The initbits is a part of the shiftin command but can someone explain in simple
english what the logical or symbol
means in this context.
The AD0838 prgm was brought to my atention in the HTH files.
ron... the motor man...
Ronald Doctors
http://www.members.home.net/rdoctors