We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello I,m saha working with at89c51.I'm new in the field and dont know much about that.I want to get digitized data from sensor but instesd getting data in the form of digit i get in following formate ðÿüÎþüÿüüüþÿüüøÿüÿðþüà ðÿþÿøþþÿþþ øÿøÿûþÿþþþÿÿ ðþüðüþÿà ÿþþÿæþøüþà øüþüÿþà þþÿlÿüÿøÈþþà þþÿ¬ .can any body tell me what's the matter. is any conversion is required from the hex code?. thanks in advance
You forgot to post the code that retrieves the sensor data, and the code that prints the sensor data.
Note that most sensors produces binary data, so you can't just send the measurements to the serial port. You have to convert them to readable text - for example with printf().
unsigned v = adc_data_register; printf("value = %u\n",v);