New person here - new to Python.
Looking for some scripts to display data in a different format. Example - take a KPa and convert and display as Inces of Mercury.
I have one sample for converting Celsius to Fahrenheit -
Need something similar for Meters to Feet and KPA to Inches of Mercury.
I thought I would try the same format as the sample and just change the formula and the headers.
Thanks
Michael
Looking for some scripts to display data in a different format. Example - take a KPa and convert and display as Inces of Mercury.
I have one sample for converting Celsius to Fahrenheit -
bmpTemp = bmp280.read_temperature() TempF = bmpTemp* (9.0/5.0) +32.0 print 'Temperature = \t{0:0.2f} F'.format(TempF)Again, just a sample and has not yet been tested or inserted into the rest of the code.
Need something similar for Meters to Feet and KPA to Inches of Mercury.
I thought I would try the same format as the sample and just change the formula and the headers.
Thanks
Michael