Advertisement
jazzmonger

Temp formula help

Mar 8th, 2023
18
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. room,PIPE,protect
  2. LEFT,Pipe,RIGHT
  3.  
  4. MCU sends a hex number representing a temp in degrees F
  5. Display - displays it in F.
  6. hex2 dec is the MCU hex number converted to decimal
  7.  
  8. ,,
  9. MCU (hex),Display,hex2dec
  10. ,,
  11. 29,70,41
  12. 2C,75,44
  13. 2D,77,45
  14. 30,82,48
  15. 34,91,52
  16. 35,93,53
  17. 37,95,55
  18. 38,97,52
  19. 39,99,53
  20. 40,,
  21. ,,
  22. ,,
  23. 3F,109,63
  24. 40,111,64
  25. ,,0
  26. 49,127,63
  27. 4A,129,64
  28. ,,0
  29. 4E,136,78
  30. 4F,138,79
  31. ,,
  32. 57,153,87
  33. 58,154,88
  34. 61,171,97
  35. 62,172,98
  36. ,,
  37. ,,
  38. 71,199,113
  39. 72,201,114
  40. 84,234,132
  41. 85,235,133
  42. 86,237,134
  43. 8C,248,140
  44. 8D,250,141
  45. 8E,252,142
  46. 8F,255,143
  47. 90,257,144
  48. 91,259,145
  49. 92,260,146
  50. 93,261,147
  51. 94,262,148
  52. 95,264,149
  53. 96,266,150
  54. 9B,275,155
  55. 9C,277,156
  56. 9D,279,157
  57. 9E,281,158
  58. 9F,283,159
  59. A0,285,160
  60. A1,286,161
  61. A2,288,162
  62. A3,289,163
  63. AA,268,170
  64. AB,270,171
  65. AC,272,172
  66. B8,291,184
  67. B9,293,185
  68. BA,295,186
  69. BB,237,187
  70. BC,,
  71. BD,,
  72. BE,,
  73. BF,,
  74. C0,,
  75. C1,,
  76. C2,,
  77. C3,,
  78. C4,,
  79. C5,315,197
  80. C7,316,199
  81. C8,324,200
  82. CA,324,202
  83. E7,376,231
  84. EC,378,236
  85. ED,383,237
  86. F0,392,240
  87. F1,394,241
Advertisement
Comments
  • jazzmonger
    1 year (edited)
    # text 0.25 KB | 0 0
    1. MCU sends a hex number representing a temp in degrees F
    2. Display.tmp - display the temp in degrees on a pellet stove
    3. hex2dec is the MCU's hex number converted to decimal
    4. I need a formula that I can feed the hex2decimal number into and get display.temp out
    5.  
Add Comment
Please, Sign In to add comment
Advertisement