- This topic has 2 replies, 3 voices, and was last updated 8 years, 2 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
|
Microcontroller › PIC › breaking data into smaller segments
i have interfaced TSYS01 temperature sensor with PIC18F4553. The output of sensor is in 16/24 bit digital format. i need to display it on an LCD which is 16×2.
How can i break this data into smaller 8bit or 4bit segments? Kindly help me with the code.
The software i use for coding is MikroC.
May i know why you need to split the data into bits.
why r u interfacing 16/24 bit sensor with 8 bit controller. it is not recommended
either switch to 32 bit controller like ARM LPC2148 or change sensor that gives 8 bit output.
in your case you will loose the accuracy