Questions tagged [temperature]

A simple definition of temperature is that it is a measure of heat dissipation, This tag can include programming related questions like temperature conversion, temperature detection through device sensors etc.

The temperature of a device is a quantitative measure which indicates how hot or cold the device is, temperature sensitive sensors can be used to make an alarming signal and can be programmed in various programming languages. It is measured by detection of heat radiation by a temperature sensing material, which may be then calibrated in any of various temperature scales, Celsius, Fahrenheit, Kelvin, etc.

Usage of Tag temperature

The tag temperature on stackoverflow can be used to ask questions related to programming a device or application, to sense temperature of a room/device. Tag temperature should be only used for questions related to programming, Please do not ask here questions related to physics or thermodynamics.

624 questions
-1
votes
1 answer

Designing thermometer in Android

Have tried many ways to design a thermometer in android but they are all suck. The last work is using a vertical progress plus a circle.xml: drawable\verticalprogressbar.xml:
-1
votes
3 answers

Logic Error in Temperature Conversion

I am making a program to convert one temperature to another temperature. In example, Fahrenheit to Celsius, Celsius to Fahrenheit, Celsius to kelvin, etc. I've got the GUI set up, but now i'm getting errors during conversion. I've looked for…
TaylorTDHouse
  • 243
  • 2
  • 4
  • 8
-1
votes
1 answer

Temperature Conversion Script - php issue

I'm trying to figure out a way to convert celsius to fahrenheit using php. Here's my code so far. It keeps saying I have a unexpected '{' on line 12.
-1
votes
1 answer

How to get the on-chip temperature of Xilinx Virtex-5 FPGA chip?

I'm trying to do an experiment to see how different on-chip temperatures affect the frequency of ring oscillator. I know that as the temperature increases, the frequency of the ring oscillator also decreases. But I don't know how much it will…
abc
  • 89
  • 1
  • 6
-1
votes
2 answers

Comma, ')', or a valid expression continuation expected

Well. Still gettin' used to it. I need to create a program that converts temperatures and such for school. I have: Celsius Kelvin Reamour And Fahrenheit Basically when I write to textbox, like I input 4 Celsius and my program must display and…
-1
votes
1 answer

How to get the current location temperature in android

I am new in Android Development. I have created app on Geocoding to get current location. Now I want to get the temperature of the current location too. I found in stackoverflow that there is no thermometer in any Android device to calculate the…
Eclipse-fan
  • 597
  • 1
  • 5
  • 11
-1
votes
1 answer

What is core.a (main.cpp.o) error in Arduino?

I was compling my code in Arduino and suddenly I got this error: core.a(main.cpp.o): In function `main': D:\Personal\Arduino\arduino-1.0.4-windows\arduino- 1.0.4\hardware\arduino\cores\arduino/main.cpp:11: undefined reference to `setup' …
Artemis F
  • 72
  • 3
  • 4
  • 19
-2
votes
0 answers

c program works differently when a number is written in decimal

This is a c program which converts fahrenheit to celsius . When I write number 9 in decimal form float tempFahToCelsius= (tempFah - 32) * (5/9); to float tempFahToCelsius= (tempFah - 32) * (5/9.0); output of the program is different. If 5 is the…
Pratyush
  • 11
  • 1
-2
votes
1 answer

How to change the temperature (light color) of your screen using python

So I want to make a red filter for the screen, when using my Python app. I need it so I can use it in dark without having light pollution. Also I need to adjust the brightness. I found a library called screen_brightness_control, but I haven't found…
-2
votes
1 answer

Removing rows that contain "x" in column by a specific date

I'm working wither temperature and snow melt. I have some issues with removing specific ID values by e specific date. Here is a part of my Date. Frame: I have calculated the onset of snowmelt and need to remove all dates before the first date of…
-2
votes
1 answer

How to remove warning "implicit declaration of build in function snprintf"?

#include "stm32l475e_iot01.h" #include "stm32l475e_iot01_tsensor.h" #include float temp_value = 0; // Measured temperature value char str_tmp[100] = ""; // Formatted message to display the temperature value int main (void) { …
Terence
  • 3
  • 3
-2
votes
1 answer

C language not giving me the output in decimals

//Converts Farenheit tempretaure to into the celsius scale #include #define FREEZING_PT 32.0f #define FACTOR 5.0f/9.0f int main(void) { float faren,c; printf("Enter the Farenheit temperature: "); scanf("%f",&faren); …
MrKhonsu
  • 19
  • 4
-2
votes
2 answers

Python Temperature converter output is none

Im trying to create a function which will convert temperatures based on the temperature that is being converted from to the temperature which we want. However the output of my code is none when I test it. def convertTemperature(T, unitFrom,…
-2
votes
1 answer

Cpu Temperature on Windows 10

Is there a way to get the CPU temperature in windows 10? I tried to get it from the command line with wmic, but it always gives the same value. How can I do this without using a program? Or, is there an api that gives out the temperature…
Wise Colt
  • 131
  • 2
  • 7
-2
votes
1 answer

Converting from Fahrenheit to Celsius and viceversa in C

I'm working on a program to convert F to C and vice-versa. The thing is, I've seen similar programs where you first enter if the conversion is from degree F to degree C or vice-versa, and then you Enter the data. I just want kind of a more user…
kenrckk
  • 3
  • 2