Mar-12-2018, 09:19 PM
(Mar-12-2018, 02:46 AM)Larz60+ Wrote: try the following:
lcd.clear() msg = 'Indoor: {}\nOutdoor: {}'.format(indoortemp, outdoortemp) lcd.message(msg)Note that there are no quotes around msg. That's because it is a variable.
you should be able to do it this way as well
lcd.clear() lcd.message('Indoor: {}\nOutdoor: {}'.format(indoortemp, outdoortemp))
That works! Very grateful for your help! Thank you! I'll see if I can do some reading on what exactly is happening there. Ive never used .format before.