I am interfacing an 8051 (AT89C5131A-M) with a humidity sensor (htf3226lf) which has a linear frequency output. Can someone please write a code (in embedded C) to display the humidity on the LCD display? It would be very helpful. I know what to do ( I think it involves interrupts).. I just don't know how to...
The relation between humidity(%, RH) and output frequency of the sensor is:
[9595 - Fout(Hz)]/14.8= RH
PS: This is just a small part of my project and I have no experience in embedded C (just a first year).
PPS: I am using Keil
The relation between humidity(%, RH) and output frequency of the sensor is:
[9595 - Fout(Hz)]/14.8= RH
PS: This is just a small part of my project and I have no experience in embedded C (just a first year).
PPS: I am using Keil