OzStamp
10-25-2006, 05:34 PM
Hi to all
I have an 8 bit Gray output type rotary encoder that rotates fairly slow and we wish to decode this 8 bit gray value to a binary value as quick as possible.
I was wandering what would be absolute quickest method ..
Write some assembly code or create a lookup table and jump to the locations and get the Binary value out of the lookup table.. ???··
I recall working on a machine a few years ago and it had an eeprom laoded with the lookup table and positiong data loaded in the various locations ( like a programmable cam switch in a packaging machine)
I reckon the Propeller would be awesome for this application..
Ronald Nollet·· Australia
·
I have an 8 bit Gray output type rotary encoder that rotates fairly slow and we wish to decode this 8 bit gray value to a binary value as quick as possible.
I was wandering what would be absolute quickest method ..
Write some assembly code or create a lookup table and jump to the locations and get the Binary value out of the lookup table.. ???··
I recall working on a machine a few years ago and it had an eeprom laoded with the lookup table and positiong data loaded in the various locations ( like a programmable cam switch in a packaging machine)
I reckon the Propeller would be awesome for this application..
Ronald Nollet·· Australia
·