Hello Unregistered ,
You want to read each bit on the falling edge of the clock so use mode 2. And you only need to shift MXtemp >> 3. Not 5.
Regards, -Bruce tech at rentron.com http://www.rentron.com
Forum Rules
Bookmarks