how I should change it ?
Based on snippets? Who knows? Post ALL of your code. Right now, we can only guess what sensors is.
int temp = sensors.getTempCByIndex(0);
Does that method return an int? Or a float?
how I should change it ?
Based on snippets? Who knows? Post ALL of your code. Right now, we can only guess what sensors is.
int temp = sensors.getTempCByIndex(0);
Does that method return an int? Or a float?