Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Hi I,They can in C but I doubt Vlad made it possible.... Why? Is it an issue!!
Hi M,Try,
word=readADC()
lowByte = word and 255
highByte = word/256
Or, this may also work, (not familiar with what Osh can do)
lowByte = word
highByte=word>>8
If there is any kind of union in Oshonsoft then you may be able to use that.
Mike.
Hi P,If you can't write a word then always write low byte last and read it first. The chips with a 16 bit timer0 have a feature to enable safe reading and writing of 16 bits.
Hi M,Assuming you're still using a 18F4331 then section 11.4 describes the reading and writing of timer0. The register TMR0H is not always TMR0H!!!
Mike.
X. HB, X. LBHi,
How do I separate the WORD into two BYTES? (Oshonsoft BASIC)
C.
Hi J,X. HB, X. LB
You have used this before