Advertisement
Guest User

Untitled

a guest
Jan 16th, 2017
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. 23986
  2. 23749
  3. 23749
  4. 23745
  5. 23807
  6. 23714
  7. 23401
  8. 23745
  9. 23919
  10. 24490
  11.  
  12. The list of numbers are temperature values from a string of sensors. These temperatures will be represented by LEDs fading from red to blue (yellow in middle). However, I do not want the min and max to always be represented by blue and red respectively, unless they really are outliers. I'm assuming standard deviation is the best way to implement this. They would also need to be converted to a number between 0 and 1, as the colorspace I am using represents colors as decimals in that range.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement