on dht#temp do if [dht#temp]>-25 and [dht#temp]<-24 NeoPixel,1,0,0,102 NeoPixel,2,0,0,102 endif if [dht#temp]>-24 and [dht#temp]<-23 NeoPixel,2,0,0,102 NeoPixel,3,0,0,153 endif if [dht#temp]>-23 and [dht#temp]<-22 NeoPixel,3,0,0,153 NeoPixel,4,0,0,153 endif if [dht#temp]>-22 and [dht#temp]<-21 NeoPixel,4,0,0,153 NeoPixel,5,0,0,204 endif if [dht#temp]>-21 and [dht#temp]<-20 NeoPixel,5,0,0,204 NeoPixel,6,0,0,204 endif if [dht#temp]>-20 and [dht#temp]<-19 NeoPixel,6,0,0,204 NeoPixel,7,0,0,255 endif if [dht#temp]>-19 and [dht#temp]<-18 NeoPixel,7,0,0,255 NeoPixel,8,0,0,255 endif if [dht#temp]>-18 and [dht#temp]<-17 NeoPixel,8,0,0,255 NeoPixel,9,51,51,255 endif if [dht#temp]>-17 and [dht#temp]<-16 NeoPixel,9,51,51,255 NeoPixel,10,51,51,255 endif if [dht#temp]>-16 and [dht#temp]<-15 NeoPixel,10,51,51,255 NeoPixel,11,102,102,255 if [dht#temp]>-15 and [dht#temp]<-14 NeoPixel,11,102,102,255 NeoPixel,12,102,102,255 endif if [dht#temp]>-14 and [dht#temp]<-13 NeoPixel,12,102,102,255 NeoPixel,13,0,76,153 endif if [dht#temp]>-13 and [dht#temp]<-12 NeoPixel,13,0,76,153 NeoPixel,14,0,76,153 endif if [dht#temp]>-12 and [dht#temp]<-11 NeoPixel,14,0,76,153 NeoPixel,15,0,102,204 endif if [dht#temp]>-11 and [dht#temp]<-10 NeoPixel,15,0,102,204 NeoPixel,16,0,102,204 endif if [dht#temp]>-10 and [dht#temp]<-9 NeoPixel,16,0,102,204 NeoPixel,17,0,128,255 endif if [dht#temp]>-9 and [dht#temp]<-8 NeoPixel,17,0,128,255 NeoPixel,18,0,128,255 endif if [dht#temp]>-8 and [dht#temp]<-7 NeoPixel,18,0,128,255 NeoPixel,19,51,153,255 endif if [dht#temp]>-7 and [dht#temp]<-6 NeoPixel,19,51,153,255 NeoPixel,20,51,153,255 endif if [dht#temp]>-6 and [dht#temp]<-5 NeoPixel,20,51,153,255 NeoPixel,153,204,255 endif if [dht#temp]>-5 and [dht#temp]<-4 NeoPixel,21,153,204,255 NeoPixel,22,153,204,255 endif if [dht#temp]>-4 and [dht#temp]<-3 NeoPixel,22,153,204,255 NeoPixel,23,0,204,204 endif if [dht#temp]>-3 and [dht#temp]<-2 NeoPixel,23,0,204,204 NeoPixel,24,0,204,204 endif if [dht#temp]>-2 and [dht#temp]<-1 NeoPixel,24,0,204,204 NeoPixel,25,0,255,255 endif if [dht#temp]>-1 and [dht#temp]<0 NeoPixel,25,0,255,255 NeoPixel,26,0,255,255 endif if [dht#temp]>0 and [dht#temp]<-1 NeoPixel,26,0,255,255 NeoPixel,27,102,255,255 endif if [dht#temp]>1 and [dht#temp]<-2 NeoPixel,27,102,255,255 NeoPixel,28,102,255,255 endif if [dht#temp]>2 and [dht#temp]<3 NeoPixel,28,102,255,255 NeoPixel,29,102,255,178 endif if [dht#temp]>3 and [dht#temp]<4 NeoPixel,29,102,255,178 NeoPixel,30,102,255,178 endif if [dht#temp]>4 and [dht#temp]<5 NeoPixel,30,102,255,178 NeoPixel,31,51,255,153 endif if [dht#temp]>5 and [dht#temp]<6 NeoPixel,31,51,255,153 NeoPixel,32,51,255,153 endif if [dht#temp]>6 and [dht#temp]<7 NeoPixel,32,51,255,153 NeoPixel,33,0,255,128 endif if [dht#temp]>7 and [dht#temp]<8 NeoPixel,33,0,255,128 NeoPixel,34,0,255,128 endif if [dht#temp]>8 and [dht#temp]<9 NeoPixel,34,0,255,128 NeoPixel,35,153,255,153 endif if [dht#temp]>9 and [dht#temp]<10 NeoPixel,35,153,255,153 NeoPixel,36,153,255,153 endif if [dht#temp]>10 and [dht#temp]<11 NeoPixel,36,153,255,153 NeoPixel,37,102,255,102 endif if [dht#temp]>11 and [dht#temp]<12 NeoPixel,37,102,255,102 NeoPixel,38,102,255,102 endif if [dht#temp]>12 and [dht#temp]<13 NeoPixel,38,102,255,102 NeoPixel,39,51,255,51 endif if [dht#temp]>13 and [dht#temp]<14 NeoPixel,39,51,255,51 NeoPixel,40,51,255,51 endif if [dht#temp]>14 and [dht#temp]<15 NeoPixel,40,51,255,51 NeoPixel,41,0,255,0 endif if [dht#temp]>15 and [dht#temp]<16 NeoPixel,41,0,255,0 NeoPixel,42,0,255,0 endif if [dht#temp]>16 and [dht#temp]<17 NeoPixel,42,0,255,0 NeoPixel,43,102,204,0 endif if [dht#temp]>17 and [dht#temp]<18 NeoPixel,43,102,204,0 NeoPixel,44,102,204,0 endif if [dht#temp]>18 and [dht#temp]<19 NeoPixel,44,102,204,0 NeoPixel,45,128,255,0 endif if [dht#temp]>19 and [dht#temp]<20 NeoPixel,45,128,255,0 NeoPixel,46,128,255,0 endif if [dht#temp]>20 and [dht#temp]<21 NeoPixel,46,128,255,0 NeoPixel,47,153,255,51 endif if [dht#temp]>21 and [dht#temp]<22 NeoPixel,47,153,255,51 NeoPixel,48,153,255,51 endif if [dht#temp]>22 and [dht#temp]<23 NeoPixel,48,153,255,51 NeoPixel,49,178,255,102 endif if [dht#temp]>23 and [dht#temp]<24 NeoPixel,49,178,255,102 NeoPixel,50,178,255,102 endif if [dht#temp]>24 and [dht#temp]<25 NeoPixel,50,178,255,102 NeoPixel,51,204,204,0 endif if [dht#temp]>25 and [dht#temp]<26 NeoPixel,51,204,204,0 NeoPixel,52,204,204,0 endif if [dht#temp]>26 and [dht#temp]<27 NeoPixel,52,204,204,0 NeoPixel,53,255,255,0 endif if [dht#temp]>27 and [dht#temp]<28 NeoPixel,53,255,255,0 NeoPixel,54,255,255,0 endif if [dht#temp]>28 and [dht#temp]<29 NeoPixel,54,255,255,0 NeoPixel,55,255,178,102 endif if [dht#temp]>29 and [dht#temp]<30 NeoPixel,55,255,178,102 NeoPixel,56,255,178,102 endif if [dht#temp]>30 and [dht#temp]<31 NeoPixel,56,255,178,102 NeoPixel,57,255,128,0 endif if [dht#temp]>31 and [dht#temp]<32 NeoPixel,57,255,128,0 NeoPixel,58,255,128,0 endif if [dht#temp]>32 and [dht#temp]<33 NeoPixel,58,255,128,0 NeoPixel,59,204,102,0 if [dht#temp]>33 and [dht#temp]<34 NeoPixel,59,204,102,0 NeoPixel,60,204,102,0 endif if [dht#temp]>34 and [dht#temp]<35 NeoPixel,60,204,102,0 NeoPixel,61,255,51,51 endif if [dht#temp]>35 and [dht#temp]<36 NeoPixel,61,255,51,51 NeoPixel,62,255,51,51 endif if [dht#temp]>36 and [dht#temp]<37 NeoPixel,62,255,51,51 NeoPixel,63,255,0,0 endif if [dht#temp]>37 and [dht#temp]<38 NeoPixel,63,255,0,0 NeoPixel,64,255,0,0 endif if [dht#temp]>38 and [dht#temp]<39 NeoPixel,64,255,0,0 NeoPixel,65,204,0,0 endif if [dht#temp]>39 and [dht#temp]<40 NeoPixel,65,204,0,0 NeoPixel,66,204,0,0 endif if [dht#temp]>40 and [dht#temp]<41 NeoPixel,66,204,0,0 NeoPixel,67,153,0,0 endif if [dht#temp]>41 and [dht#temp]<42 NeoPixel,67,153,0,0 NeoPixel,68,153,0,0 endif if [dht#temp] < -25 NeoPixel,1,255,0,127 NeoPixel,2,255,0,127 NeoPixel,3,255,0,127 NeoPixel,4,255,0,127 endif if [dht#temp] > 42 NeoPixel,68,255,0,0 NeoPixel,69,255,0,0 NeoPixel,70,255,0,0 NeoPixel,71,255,0,0 endif endon