by danadak on Wed Feb 29, 2012 4:43 am
If SHT-11 is I2C then use I2C.
If you choose to bit bang then an I/O pin can be setup as bidirectional and
turned around rapidly with register writes and API control.
An important doc is the TRM (Technical Reference Manaul). You will find
yourself using it a lot, as well as datasheets for specific modules.
To print to LCD first you convert to string the variable you wish to
print, format it as well. sprintf() is an extended library function that is
very useful, depends on which compiler you are using. Then you use LCD
API to write a character string to the LCD. API call descriptions in LCD
datasheet.
Regards, Dana.
Last edited by
danadak on Sat Mar 03, 2012 6:44 pm, edited 1 time in total.
Field Application Engineer
KB1RHB Mostly listen

Semi Retired